MLK-15068: ASoC: fsl_ssi: fix the noise issue with S20_3LE Mono bitsream
authorShengjiu Wang <shengjiu.wang@freescale.com>
Thu, 15 Jun 2017 05:07:20 +0000 (13:07 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:28:16 +0000 (15:28 -0500)
commita7525fc3657aa2f04e551720bcc8031e2ce8cf7d
treef3e040d743d2d14261ad1f37c097d689267dc87d
parent39e51c52cce3248fd0a0e4ee62449b30b168cea7
MLK-15068: ASoC: fsl_ssi: fix the noise issue with S20_3LE Mono bitsream

In master mode, clock of S20_3LE mono bistream is calculated by formula
"2 * params_width * params_rate", and this clock can't be divided from
clock soure, so switch to use the "2 * params_physical_width * params_rate"
formula to fix this issue.

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