aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-29 14:00:24 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-29 14:00:24 -0400
commitb6ed61cfa24786e36164869b593d44d411a700ad (patch)
tree944322edebe04ddd891e2f2ccc0c9c87a684ed81 /sound/soc/codecs/wm_adsp.h
parenta96f5e9394d298689eb3b876e6619166f1a37cc4 (diff)
ASoC: wm_adsp: Split ADSP1 and ADSP2 firmware controls
Now that we have regular register mapped controls we should be splitting the control sets for ADSP1 and ADSP2 as the register maps are not identical. Do that. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm_adsp.h')
-rw-r--r--sound/soc/codecs/wm_adsp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h
index cb8871a3ec00..9f90c9fea842 100644
--- a/sound/soc/codecs/wm_adsp.h
+++ b/sound/soc/codecs/wm_adsp.h
@@ -65,7 +65,8 @@ struct wm_adsp {
65 .shift = num, .event = wm_adsp2_event, \ 65 .shift = num, .event = wm_adsp2_event, \
66 .event_flags = SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD } 66 .event_flags = SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD }
67 67
68extern const struct snd_kcontrol_new wm_adsp_fw_controls[]; 68extern const struct snd_kcontrol_new wm_adsp1_fw_controls[];
69extern const struct snd_kcontrol_new wm_adsp2_fw_controls[];
69 70
70int wm_adsp1_init(struct wm_adsp *adsp); 71int wm_adsp1_init(struct wm_adsp *adsp);
71int wm_adsp2_init(struct wm_adsp *adsp, bool dvfs); 72int wm_adsp2_init(struct wm_adsp *adsp, bool dvfs);