]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: wm_adsp: Move DVFS control into codec driver
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 2 Jun 2015 10:53:34 +0000 (11:53 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 2 Jun 2015 20:07:20 +0000 (21:07 +0100)
commit81ac58b13f815d7c7838bc347dd5d102707a11b7
treeb6c06e91a8b2a6222cfd71bb398ef99c7469525f
parent346d96836ca4af39dbfe65eceb7db812b1bfe68f
ASoC: wm_adsp: Move DVFS control into codec driver

In theory the ADSP driver should not need to know anything
about the codec it is part of. But the WM5102 needs DVFS
control based on ADSP clocking speed. This was being handled
by bundling part of the knowledge of this into the ADSP driver.

This change moves this handling out of the ADSP driver and
into the WM5102 driver.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm5102.c
sound/soc/codecs/wm5110.c
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h