ASoC: codec: wm9860: Refactor PLL out freq search
authorDaniel Baluta <daniel.baluta@nxp.com>
Tue, 4 Apr 2017 16:45:13 +0000 (19:45 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 5 Apr 2017 17:23:15 +0000 (18:23 +0100)
commit84fdc00d519ffdf8ae6e34d7841bcc6f38928953
tree13e325bd3f27a016c2d8dd95fbf9b92e12dbb384
parent3c01b9ee2ab9d0dffe837c12ed93740516a673d7
ASoC: codec: wm9860: Refactor PLL out freq search

Add a separate function for deriving (sysclk, lrclk, bclk)
when the clock is auto or pll.

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