]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit53f67a78663811968f426d480bc55887d787bd94
treee4f074607138d69a2874abab78ffc4b28093b215
parentf0f2338a9cfaf71db895fa989ea7234e8a9b471d
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