summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Lai <b04597@freescale.com>2010-07-19 10:34:07 +0800
committerJustin Waters <justin.waters@timesys.com>2010-12-17 12:10:52 -0500
commit1728ffc96d44134591a0321d83e442d9f13be2dd (patch)
treea4ec9045e919e8c1169fb5954497537becf759e6
parenta8f125151fb9ee95ff290fddb80f568ddb039c48 (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,