MLK-20613: ASoC: fsl_asrc: add limitation for non ideal ratio mode
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 18 Dec 2018 08:08:14 +0000 (16:08 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit18185b559afb6a6c8bae62fb32c5288b247523aa
tree72d7c57b6cf61cf51c13d424d6c24ed6737a6121
parent13eb9a1abb3688576b7d252d74d802f0eb011424
MLK-20613: ASoC: fsl_asrc: add limitation for non ideal ratio mode

for non ideal ratio mode, the clock rate should divide the sample rate
with no remainder, and the quotient should be less than 1024.

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