aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/xburst
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
commite3751cbe46ac0a6dbb627252fef3017d06ddb026 (patch)
tree05287c003714b0aff48cd4b30060cab1b74f8b8c /target/linux/xburst
parent467cf5f027319c147dcce46a6b2128fb7c22fdc9 (diff)
downloadupstream-e3751cbe46ac0a6dbb627252fef3017d06ddb026.tar.gz
upstream-e3751cbe46ac0a6dbb627252fef3017d06ddb026.tar.bz2
upstream-e3751cbe46ac0a6dbb627252fef3017d06ddb026.zip
[xburst] jzcodec: Only support 16bit formats for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20701 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst')
-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 fced0176fc..5d8020c1c0 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,