mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
ASoC: wm_adsp: Add initialisation function for ADSP1
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
1023dbd90c
commit
5e7a7a221f
@ -780,6 +780,14 @@ out:
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int wm_adsp1_init(struct wm_adsp *adsp)
|
||||||
|
{
|
||||||
|
INIT_LIST_HEAD(&adsp->alg_regions);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(wm_adsp1_init);
|
||||||
|
|
||||||
int wm_adsp1_event(struct snd_soc_dapm_widget *w,
|
int wm_adsp1_event(struct snd_soc_dapm_widget *w,
|
||||||
struct snd_kcontrol *kcontrol,
|
struct snd_kcontrol *kcontrol,
|
||||||
int event)
|
int event)
|
||||||
|
@ -64,6 +64,7 @@ struct wm_adsp {
|
|||||||
|
|
||||||
extern const struct snd_kcontrol_new wm_adsp_fw_controls[];
|
extern const struct snd_kcontrol_new wm_adsp_fw_controls[];
|
||||||
|
|
||||||
|
int wm_adsp1_init(struct wm_adsp *adsp);
|
||||||
int wm_adsp2_init(struct wm_adsp *adsp, bool dvfs);
|
int wm_adsp2_init(struct wm_adsp *adsp, bool dvfs);
|
||||||
int wm_adsp1_event(struct snd_soc_dapm_widget *w,
|
int wm_adsp1_event(struct snd_soc_dapm_widget *w,
|
||||||
struct snd_kcontrol *kcontrol, int event);
|
struct snd_kcontrol *kcontrol, int event);
|
||||||
|
Loading…
Reference in New Issue
Block a user