diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-15 20:03:56 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-15 20:21:57 -0500 |
commit | 5e7a7a221fbae313a8635411b557e736ba044c98 (patch) | |
tree | 42b50f9ac62e6320ac4fa8494cabe433a9895c9c /sound/soc/codecs/wm_adsp.c | |
parent | 1023dbd90c1e3e87921198939917c1f50b4b6af7 (diff) |
ASoC: wm_adsp: Add initialisation function for ADSP1
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.c')
-rw-r--r-- | sound/soc/codecs/wm_adsp.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 1f8e8e2a1a6a..58cac071456b 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c | |||
@@ -780,6 +780,14 @@ out: | |||
780 | return 0; | 780 | return 0; |
781 | } | 781 | } |
782 | 782 | ||
783 | int wm_adsp1_init(struct wm_adsp *adsp) | ||
784 | { | ||
785 | INIT_LIST_HEAD(&adsp->alg_regions); | ||
786 | |||
787 | return 0; | ||
788 | } | ||
789 | EXPORT_SYMBOL_GPL(wm_adsp1_init); | ||
790 | |||
783 | int wm_adsp1_event(struct snd_soc_dapm_widget *w, | 791 | int wm_adsp1_event(struct snd_soc_dapm_widget *w, |
784 | struct snd_kcontrol *kcontrol, | 792 | struct snd_kcontrol *kcontrol, |
785 | int event) | 793 | int event) |