From 6dc1a601569cc306a1554fe1d1651a24a5175d30 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 14 Mar 2010 17:49:30 +0000 Subject: [PATCH] [xburst] jzcodec: Fix supported formats. SVN-Revision: 20210 --- .../linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c | 7 +++++-- 1 file 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, -- 2.30.2