]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit115419df9354cf9d439b13697d36238ca7680403
tree6bd7b026996f0c66df92c60cd427cf85a3c14b33
parent7135eadeb551a9cde5855e1a9203bcc6413e92b1
ASoC: Allow WM8915 BCLK calculation outside hw_params()

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>
sound/soc/codecs/wm8915.c