]> 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)
commitcb287a15dcfc79af965945a7fe346351e60f4ced
treee4f074607138d69a2874abab78ffc4b28093b215
parent5bd3226482a21132f71525aa848a9c6854db8ac6
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