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>
Showing
- sound/soc/codecs/cs47l24.c 3 additions, 1 deletionsound/soc/codecs/cs47l24.c
- sound/soc/codecs/wm5102.c 3 additions, 1 deletionsound/soc/codecs/wm5102.c
- sound/soc/codecs/wm5110.c 3 additions, 1 deletionsound/soc/codecs/wm5110.c
- sound/soc/codecs/wm_adsp.c 13 additions, 19 deletionssound/soc/codecs/wm_adsp.c
- sound/soc/codecs/wm_adsp.h 4 additions, 2 deletionssound/soc/codecs/wm_adsp.h
Loading
Please register or sign in to comment