aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/wm_adsp.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h
index fea514627526..36533eac420e 100644
--- a/sound/soc/codecs/wm_adsp.h
+++ b/sound/soc/codecs/wm_adsp.h
@@ -58,14 +58,12 @@ struct wm_adsp {
58}; 58};
59 59
60#define WM_ADSP1(wname, num) \ 60#define WM_ADSP1(wname, num) \
61 { .id = snd_soc_dapm_pga, .name = wname, .reg = SND_SOC_NOPM, \ 61 SND_SOC_DAPM_PGA_E(wname, SND_SOC_NOPM, num, 0, NULL, 0, \
62 .shift = num, .event = wm_adsp1_event, \ 62 wm_adsp1_event, SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD)
63 .event_flags = SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD }
64 63
65#define WM_ADSP2(wname, num) \ 64#define WM_ADSP2(wname, num) \
66{ .id = snd_soc_dapm_pga, .name = wname, .reg = SND_SOC_NOPM, \ 65 SND_SOC_DAPM_PGA_E(wname, SND_SOC_NOPM, num, 0, NULL, 0, \
67 .shift = num, .event = wm_adsp2_event, \ 66 wm_adsp2_event, SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD)
68 .event_flags = SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD }
69 67
70extern const struct snd_kcontrol_new wm_adsp1_fw_controls[]; 68extern const struct snd_kcontrol_new wm_adsp1_fw_controls[];
71extern const struct snd_kcontrol_new wm_adsp2_fw_controls[]; 69extern const struct snd_kcontrol_new wm_adsp2_fw_controls[];