From f8275576d92fce20114e718cd45662c3c4dcab2d Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 4 Apr 2010 15:39:15 +0000 Subject: [PATCH] jzcodec: Only support 16bit formats for now SVN-Revision: 20701 --- .../linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c | 7 ++----- 1 file 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, -- 2.30.2