MLK-14536: ASoC: codec: wm8960: Relax bit clock computation when using PLL
authorDaniel Baluta <daniel.baluta@nxp.com>
Wed, 5 Apr 2017 12:56:43 +0000 (15:56 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:48 +0000 (15:21 -0500)
commitd154c75427823448b32967784ab61cd49c214ee3
tree448798392e68b473c2b2b3c454711dde8ab0a455
parentd940d4810d8fc8b13b8b36a5c827e148c123da85
MLK-14536: ASoC: codec: wm8960: Relax bit clock computation when using PLL

Bitclk is derived from sysclk using bclk_divs.
Sysclk can be derived in two ways:
(1) directly from MLCK
(2) MCLK via PLL

Commit 3c01b9ee2ab9d0d ("ASoC: codec: wm8960: Relax bit clock
computation")
relaxed bitclk computation when sysclk is directly derived from MCLK.

Lets do the same thing when sysclk is derived via PLL.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8960.c