summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ak4104.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-01-13 11:25:05 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-13 14:23:00 +0100
commit617b14c50eb95b36360b2b3232c6cf20b910e2f8 (patch)
treea068e359c45e606e9037ea20f4fed4834b08f850 /sound/soc/codecs/ak4104.c
parentASoC: TWL4030: Replace comma with semicolon in probe function (diff)
downloadlinux-617b14c50eb95b36360b2b3232c6cf20b910e2f8.tar.xz
linux-617b14c50eb95b36360b2b3232c6cf20b910e2f8.zip
ASoC: ak4104: allow more sample rates
The transmitter supports all sample rates up to 192KHz, so the driver should not give a limit. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/ak4104.c')
-rw-r--r--sound/soc/codecs/ak4104.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/codecs/ak4104.c b/sound/soc/codecs/ak4104.c
index 3a14c6fc4f5e..b9ef7e45891d 100644
--- a/sound/soc/codecs/ak4104.c
+++ b/sound/soc/codecs/ak4104.c
@@ -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