ASoC: wm_adsp: Add basic firmware selection support
[deliverable/linux.git] / sound / soc / codecs / wm_adsp.h
index 48814198e24e4591fd554e0e6254dd76466d34e1..5e71410f8b0519d80647e18f6029d55f79f5d4dd 100644 (file)
@@ -46,6 +46,9 @@ struct wm_adsp {
        const struct wm_adsp_region *mem;
        int num_mems;
 
+       int fw;
+       bool running;
+
        struct regulator *dvfs;
 };
 
@@ -59,6 +62,8 @@ struct wm_adsp {
        .shift = num, .event = wm_adsp2_event, \
        .event_flags = SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD }
 
+extern const struct snd_kcontrol_new wm_adsp_fw_controls[];
+
 int wm_adsp2_init(struct wm_adsp *adsp, bool dvfs);
 int wm_adsp1_event(struct snd_soc_dapm_widget *w,
                   struct snd_kcontrol *kcontrol, int event);
This page took 0.024678 seconds and 5 git commands to generate.