aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/xburst
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-03-14 17:49:30 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-03-14 17:49:30 +0000
commit4fd777fab1d8c573628873f344461e2f2a3cf34c (patch)
tree7d0d838f177ef6102b8a193abef021ed9be07311 /target/linux/xburst
parenta63e26c399947a85003dda64e0d6bc3877789805 (diff)
downloadupstream-4fd777fab1d8c573628873f344461e2f2a3cf34c.tar.gz
upstream-4fd777fab1d8c573628873f344461e2f2a3cf34c.tar.bz2
upstream-4fd777fab1d8c573628873f344461e2f2a3cf34c.zip
[xburst] jzcodec: Fix supported formats.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20210 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, 5 insertions, 2 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 ce5aaf1877..fced0176fc 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,14 +267,17 @@ struct snd_soc_dai jz_codec_dai = {
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_8000_44100,
- .formats = SNDRV_PCM_FORMAT_S18_3LE,
+ .formats = SNDRV_PCM_FMTBIT_S18_3LE |
+ SNDRV_PCM_FMTBIT_S16_LE |
+ SNDRV_PCM_FMTBIT_S8,
},
.capture = {
.stream_name = "Capture",
.channels_min = 2,
.channels_max = 2,
.rates = SNDRV_PCM_RATE_8000_44100,
- .formats = SNDRV_PCM_FORMAT_S16_LE,
+ .formats = SNDRV_PCM_FMTBIT_S16_LE |
+ SNDRV_PCM_FMTBIT_S8,
},
.ops = &jz_codec_dai_ops,
.symmetric_rates = 1,