summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-04-04 15:39:15 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-04-04 15:39:15 +0000
commitf8275576d92fce20114e718cd45662c3c4dcab2d (patch)
treee15798618b0174559d58e987a3a9c29fbd418f46 /target/linux
parente60b9b9b35243f241bc3ba2c7e9ccfc86bf8ce91 (diff)
downloadmtk-20170518-f8275576d92fce20114e718cd45662c3c4dcab2d.zip
mtk-20170518-f8275576d92fce20114e718cd45662c3c4dcab2d.tar.gz
mtk-20170518-f8275576d92fce20114e718cd45662c3c4dcab2d.tar.bz2
jzcodec: Only support 16bit formats for now
SVN-Revision: 20701
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c b/target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c
index fced017..5d8020c 100644
--- a/target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c
+++ b/target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c
@@ -267,17 +267,14 @@ struct snd_soc_dai jz_codec_dai = {
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_8000_44100,
- .formats = SNDRV_PCM_FMTBIT_S18_3LE |
- SNDRV_PCM_FMTBIT_S16_LE |
- SNDRV_PCM_FMTBIT_S8,
+ .formats = SNDRV_PCM_FMTBIT_S16_LE,
},
.capture = {
.stream_name = "Capture",
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_8000_44100,
- .formats = SNDRV_PCM_FMTBIT_S16_LE |
- SNDRV_PCM_FMTBIT_S8,
+ .formats = SNDRV_PCM_FMTBIT_S16_LE,
},
.ops = &jz_codec_dai_ops,
.symmetric_rates = 1,