]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_asrc: add constraint for the asrc of older version
authorS.j. Wang <shengjiu.wang@nxp.com>
Sat, 2 Mar 2019 05:52:19 +0000 (05:52 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 21 Mar 2019 14:49:24 +0000 (14:49 +0000)
commit760a7533a012ca0ec4703b6a0d3ac893bdb21efd
treee4f074607138d69a2874abab78ffc4b28093b215
parent89ddba8a042b90f853912f80010c97ca957a7ad6
ASoC: fsl_asrc: add constraint for the asrc of older version

There is a constraint for the channel number setting on the
asrc of older version (e.g. imx35), the channel number should
be even, odd number isn't valid.

So add this constraint when the asrc of older version is used.

Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc.c