diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-14 17:49:30 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-03-14 17:49:30 +0000 |
commit | a4d823a9e34c1beae7b8da978bd0f40b7572f8f4 (patch) | |
tree | 60b29836322568699c209124ae40f4fac1025ad9 /target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c | |
parent | 1b39ce11a8b847a5291b19d6a13c782d11c5ec95 (diff) | |
download | master-31e0f0ae-a4d823a9e34c1beae7b8da978bd0f40b7572f8f4.tar.gz master-31e0f0ae-a4d823a9e34c1beae7b8da978bd0f40b7572f8f4.tar.bz2 master-31e0f0ae-a4d823a9e34c1beae7b8da978bd0f40b7572f8f4.zip |
jzcodec: Fix supported formats.
SVN-Revision: 20210
Diffstat (limited to 'target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c')
-rw-r--r-- | target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c | 7 |
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, |