]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_asrc: update supported sample format
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 27 Sep 2019 01:46:10 +0000 (09:46 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:18:07 +0000 (12:18 +0100)
commit1eb756585211556381a36f4a96746d757c96cdbe
tree334b12f68ab55a4716bc9ded1dd3228f9edf875b
parenta9df964621194bd73bba9d80308304a4a05d87e8
ASoC: fsl_asrc: update supported sample format

The ASRC support 24bit/16bit/8bit input width, which is
data width, not slot width.

For the S20_3LE format, the data with is 20bit, slot width
is 24bit, if we set ASRMCR1n.IWD to be 24bits, the result
is the volume is lower than expected, it likes 24bit data
right shift 4 bits

So replace S20_3LE with S24_3LE in supported list and add S8
format in TX supported list

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/45a7c383f43cc1dd9d0934846447aee653278c03.1569493933.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc.c