Skip to contentSkip to conversation

ALSA: ASoC: ak4104: allow more sample rates

PATCH Applied Daniel Mack 2 participants 2 messages Jan 13, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: ASoC: ak4104: allow more sample rates

The transmitter supports all sample rates up to 192KHz, so the driver should not give a limit.

---
 sound/soc/codecs/ak4104.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
sound/soc/codecs/ak4104.c +1 -3
index 3a14c6f..b9ef7e4 100644
@@ -185,9 +185,7 @@ struct snd_soc_dai ak4104_dai = {
 		.stream_name = "Playback",
 		.channels_min = 2,
 		.channels_max = 2,
-		.rates = SNDRV_PCM_RATE_44100 |
-			 SNDRV_PCM_RATE_48000 |
-			 SNDRV_PCM_RATE_32000,
+		.rates = SNDRV_PCM_RATE_8000_192000,
 		.formats = SNDRV_PCM_FMTBIT_S16_LE  |
 			   SNDRV_PCM_FMTBIT_S24_3LE |
 			   SNDRV_PCM_FMTBIT_S24_LE
Signature · 1 line
1.6.5.2
Applied
#1 lore raw
Quoted 2 lines · Daniel Mack

The transmitter supports all sample rates up to 192KHz, so the driver should not give a limit.

Applied, thanks.