MLK-15042: ASoC: fsl_asrc: update supported format
authorShengjiu Wang <shengjiu.wang@freescale.com>
Thu, 15 Jun 2017 07:32:17 +0000 (15:32 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:28:17 +0000 (15:28 -0500)
commit4d7bbbd601374d27215bdb2c97a10ae3a649d6d7
tree470a42581758d57c4d90c36bbe7a0b0ef9a36af5
parentc8617755aa081899ce76e9d1e7c9ecd4f8c056a9
MLK-15042: ASoC: fsl_asrc: update supported format

The ASRC support 24 bit input width, but for S20_3LE the input width
is 20 bit, asrc will treat it as 24bit, which like a 24bit data shift
4 bit right, the result is the volume is lower than expected.
ASRC can't shift the 20bit data left 4 bit internally, so remove the
S20_3LE in supported list, add S24_3LE in supported list.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit e65a014efe0a69c2db9de422fb780f0ba9c41dba)
sound/soc/fsl/fsl_asrc.c