ASoC: wm_adsp: Factor out DSP specific operations
In preparation for the addition of more types of DSP core refactor the handling of DSP specific operations such as starting the memory or enabling the core into a set of callbacks. This should make it easier to add new core types and allow for more code reuse between them. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:

committed by
Mark Brown

parent
a5dcb24d70
commit
4e08d50d1f
@@ -213,7 +213,7 @@ static int wm5110_adsp_power_ev(struct snd_soc_dapm_widget *w,
|
||||
|
||||
wm_adsp2_set_dspclk(w, v);
|
||||
|
||||
return wm_adsp2_early_event(w, kcontrol, event);
|
||||
return wm_adsp_early_event(w, kcontrol, event);
|
||||
}
|
||||
|
||||
static const struct reg_sequence wm5110_no_dre_left_enable[] = {
|
||||
|
Reference in New Issue
Block a user