[xburst] jzcodec: Only support 16bit formats for now
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 4 Apr 2010 15:39:15 +0000 (15:39 +0000)
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 4 Apr 2010 15:39:15 +0000 (15:39 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20701 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/xburst/files-2.6.32/sound/soc/codecs/jzcodec.c

index fced017..5d8020c 100644 (file)
@@ -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,