aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5110.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>2015-06-02 11:53:34 +0100
committerMark Brown <broonie@kernel.org>2015-06-02 21:07:20 +0100
commit81ac58b13f815d7c7838bc347dd5d102707a11b7 (patch)
treeb6c06e91a8b2a6222cfd71bb398ef99c7469525f /sound/soc/codecs/wm5110.c
parentASoC: arizona: Export functions to control subsystem DVFS (diff)
downloadlinux-dev-81ac58b13f815d7c7838bc347dd5d102707a11b7.tar.xz
linux-dev-81ac58b13f815d7c7838bc347dd5d102707a11b7.zip
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>
Diffstat (limited to 'sound/soc/codecs/wm5110.c')
-rw-r--r--sound/soc/codecs/wm5110.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c
index fbaeddb3e903..d65364e91532 100644
--- a/sound/soc/codecs/wm5110.c
+++ b/sound/soc/codecs/wm5110.c
@@ -1697,7 +1697,7 @@ static int wm5110_probe(struct platform_device *pdev)
wm5110->core.adsp[i].num_mems
= ARRAY_SIZE(wm5110_dsp1_regions);
- ret = wm_adsp2_init(&wm5110->core.adsp[i], false);
+ ret = wm_adsp2_init(&wm5110->core.adsp[i]);
if (ret != 0)
return ret;
}