diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-28 13:17:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-28 13:17:05 +0200 |
commit | b078dcee9a58449741cd401f2ca666dd699512f6 (patch) | |
tree | a7f2d1596b3332136b429b619e29728d508a88b1 /sound/soc/codecs/wm_adsp.h | |
parent | Merge remote-tracking branch 'asoc/topic/adsp' into asoc-next (diff) | |
parent | ASoC: 88pm860x: Use SND_SOC_DAPM_PGA_E() instead of open-coding it (diff) | |
download | linux-b078dcee9a58449741cd401f2ca666dd699512f6.tar.xz linux-b078dcee9a58449741cd401f2ca666dd699512f6.zip |
Merge remote-tracking branch 'asoc/topic/ext' into asoc-next
Diffstat (limited to 'sound/soc/codecs/wm_adsp.h')
-rw-r--r-- | sound/soc/codecs/wm_adsp.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sound/soc/codecs/wm_adsp.h b/sound/soc/codecs/wm_adsp.h index 6e890b916592..9f922c82536c 100644 --- a/sound/soc/codecs/wm_adsp.h +++ b/sound/soc/codecs/wm_adsp.h @@ -61,14 +61,12 @@ struct wm_adsp { }; #define WM_ADSP1(wname, num) \ - { .id = snd_soc_dapm_pga, .name = wname, .reg = SND_SOC_NOPM, \ - .shift = num, .event = wm_adsp1_event, \ - .event_flags = SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD } + SND_SOC_DAPM_PGA_E(wname, SND_SOC_NOPM, num, 0, NULL, 0, \ + wm_adsp1_event, SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD) #define WM_ADSP2(wname, num) \ -{ .id = snd_soc_dapm_pga, .name = wname, .reg = SND_SOC_NOPM, \ - .shift = num, .event = wm_adsp2_event, \ - .event_flags = SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD } + SND_SOC_DAPM_PGA_E(wname, SND_SOC_NOPM, num, 0, NULL, 0, \ + wm_adsp2_event, SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD) extern const struct snd_kcontrol_new wm_adsp1_fw_controls[]; extern const struct snd_kcontrol_new wm_adsp2_fw_controls[]; |