summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Lai <b04597@freescale.com>2010-07-19 10:34:07 +0800
committerLily Zhang <r58066@freescale.com>2010-07-20 00:30:09 +0800
commit951ffdd08116d29c27f68096f76f8f15237fabe9 (patch)
treea4ec9045e919e8c1169fb5954497537becf759e6
parentec58bb533f2e9f89b8eb718236b856e98d5f2403 (diff)
ENGR00125248 ALSA CS42888: Can only play/record multiple 44k streams
The CS42888 can only playback or record the multiple 44k streams, as there is only the 22.579MHz Osc on the board. Enable the ALSA plugin or ASRC when try to playback or record multiple 48k streams. Signed-off-by: William Lai <b04597@freescale.com>
-rw-r--r--sound/soc/codecs/cs42888.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sound/soc/codecs/cs42888.c b/sound/soc/codecs/cs42888.c
index 31488e439a9c..e9288cc9a1ca 100644
--- a/sound/soc/codecs/cs42888.c
+++ b/sound/soc/codecs/cs42888.c
@@ -839,20 +839,16 @@ struct snd_soc_dai cs42888_dai = {
.stream_name = "Playback",
.channels_min = 1,
.channels_max = 8,
- .rates = (SNDRV_PCM_RATE_32000|SNDRV_PCM_RATE_44100 |\
- SNDRV_PCM_RATE_48000|SNDRV_PCM_RATE_64000 |\
- SNDRV_PCM_RATE_88200|SNDRV_PCM_RATE_96000 |\
- SNDRV_PCM_RATE_176400|SNDRV_PCM_RATE_192000),
+ .rates = (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_88200 |\
+ SNDRV_PCM_RATE_176400),
.formats = CS42888_FORMATS,
},
.capture = {
.stream_name = "Capture",
.channels_min = 1,
.channels_max = 4,
- .rates = (SNDRV_PCM_RATE_32000|SNDRV_PCM_RATE_44100 |\
- SNDRV_PCM_RATE_48000|SNDRV_PCM_RATE_64000 |\
- SNDRV_PCM_RATE_88200|SNDRV_PCM_RATE_96000 |\
- SNDRV_PCM_RATE_176400|SNDRV_PCM_RATE_192000),
+ .rates = (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_88200 |\
+ SNDRV_PCM_RATE_176400),
.formats = CS42888_FORMATS,
},
.ops = &cs42888_dai_ops,