MLK-10048-1: ASoC: fsl_asrc: add protection the old version asrc
authorShengjiu Wang <shengjiu.wang@freescale.com>
Mon, 8 Dec 2014 05:03:17 +0000 (13:03 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:11 +0000 (14:48 -0500)
commita9a25c1a784c0b07ed33e55dfe6c46ccdd8f4355
tree7ac5e6cdbae9a89e495010275d51533568e8958b
parentf0990c948c820f4a13c3e68bf0b8368aead362ad
MLK-10048-1: ASoC: fsl_asrc: add protection the old version asrc

The latest asrc's channel bits is 4, bit the old asrc's channel bits is 3.
So here add protection for when using the old version asrc.

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