]> git.baikalelectronics.ru Git - kernel.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)
commit6a37477860ed7256b69785e3228fcad783416cea
treeb6c06e91a8b2a6222cfd71bb398ef99c7469525f
parent77860db38971d79f28ec1314189a96cc0b922675
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