ASoC: wm_adsp: Move wm_adsp2_set_dspclk to CODEC drivers
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 19 Mar 2019 11:52:09 +0000 (11:52 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Mar 2019 12:39:57 +0000 (12:39 +0000)
commitb9070df451668e0c317d420d8331568b4d7ba6df
tree820708fc0c3ac4f6251f020a021e80e84d9bcd95
parent2b0ee49f129cf3e9885f8d83439024e8116b865c
ASoC: wm_adsp: Move wm_adsp2_set_dspclk to CODEC drivers

The original wm_adsp2_early_event took an additional frequency
argument for clocking control so could not be used directly as a
DAPM callback. But this setup could equally be done by the codec
driver function wrapping wm_adsp2_early event. In preparation
for adding support for new core types wm_adsp2_set_dspclk has
been exported, and the freq argument removed so that it can
be used directly as a DAPM callback.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.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