ASoC: spdif: Add S20_3LE and S24_LE support for dummy codec drivers
authorNicolin Chen <b42378@freescale.com>
Wed, 31 Jul 2013 12:07:05 +0000 (20:07 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 31 Jul 2013 13:27:48 +0000 (14:27 +0100)
commitdb5ff9541b61ef8394bad0fb05508921b8c5b17b
tree59e4133e97463c7c4a39ac1b09eac6f4c29c5730
parent5ae90d8e467e625e447000cb4335c4db973b1095
ASoC: spdif: Add S20_3LE and S24_LE support for dummy codec drivers

Generally, S/PDIF supports 20bit and optional 24bit samples. Thus add these
two formats for the dummy codec drivers.

If one S/PDIF controller has its own limitation, its CPU DAI driver should
set the supported format by its own circumstance, since the soc-pcm driver
will use the intersection of cpu_dai's formats and codec_dai's formats.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/spdif_receiver.c
sound/soc/codecs/spdif_transmitter.c