ASoC: Allow WM8915 BCLK calculation outside hw_params()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Jun 2011 15:05:13 +0000 (16:05 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Jun 2011 20:45:44 +0000 (21:45 +0100)
Allow more dynamic management of the device clocking by allowing BCLK to
be calculated when we set SYSCLK. This means that if the system is idle
when hw_params() runs then we don't try to use the SYSCLK used in that case
to set up the BCLK dividers, we can instead wait until a later point such
as bias level configuration. This makes it easier to manage low power modes.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>

No differences found