ASoC: codec: wm8960: Relax bit clock computation when using PLL
authorDaniel Baluta <daniel.baluta@nxp.com>
Wed, 26 Apr 2017 13:09:52 +0000 (16:09 +0300)
committerMark Brown <broonie@kernel.org>
Sun, 30 Apr 2017 13:14:32 +0000 (22:14 +0900)
commit82bab88910ee358305a2f31ab30dad59f1b6421c
treec612a385503a6ecbebcf0f3c2b21938715c209f8
parent66772eda0edbfbbbe7767a6b5d07e09dae84403d
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8960.c