X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=target%2Flinux%2Fxburst%2Ffiles-2.6.32%2Fsound%2Fsoc%2Fcodecs%2Fjzcodec.c;h=fced0176fc1f64797091fbb5df6f05962e623ea4;hp=ce5aaf18772d3ce3ea996fa48413132f04903807;hb=64a8bb66463d2f88cb7104a13745657375a4d106;hpb=e8f6f13bcf144ebb4ec27b34004800751a15dec8 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 ce5aaf187..fced0176f 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,