]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: wm_adsp: Move setting of DSP speed into CODEC specific code
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 21 Jan 2016 17:53:02 +0000 (17:53 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 28 Jan 2016 23:31:46 +0000 (00:31 +0100)
commitd82d767f0e61da5f1f872d40358904eb316af264
tree89287959ea9947cf5dbf7b72f3fba7460d724f10
parent7ce4283ca405d459c186960ed39d41ec0e6fb2bf
ASoC: wm_adsp: Move setting of DSP speed into CODEC specific code

The ADSP code should be agnostic of which CODEC it runs upon, currently
there is only one remaining part of the implementation that doesn't
follow this. When the DSP is booted on ADSP2 we read
ARIZONA_SYSTEM_CLOCK_1 and use that to set the initial speed for the DSP
clock. This patch factors that out into CODEC specific code, leaving the
ADSP code entirely CODEC agnostic.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs47l24.c
sound/soc/codecs/wm5102.c
sound/soc/codecs/wm5110.c
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wm_adsp.h