ASoC: Add event variants of the AIF widgets
PATCH 1/1 ASoC: Add event variants of the AIF widgets
Signed-off-by Mark Brown <[email protected]>
--- include/sound/soc-dapm.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
include/sound/soc-dapm.h +10 -0
@@ -172,9 +172,19 @@#define SND_SOC_DAPM_AIF_IN (wname, stname, wslot, wreg, wshift, winvert) \ { .id = snd_soc_dapm_aif_in, .name = wname, .sname = stname, \ .reg = wreg, .shift = wshift, .invert = winvert } +#define SND_SOC_DAPM_AIF_IN_E (wname, stname, wslot, wreg, wshift, winvert, \ + wevent, wflags) \ +{ .id = snd_soc_dapm_aif_in, .name = wname, .sname = stname, \ + .reg = wreg, .shift = wshift, .invert = winvert, \ + .event = wevent, .event_flags = wflags }#define SND_SOC_DAPM_AIF_OUT (wname, stname, wslot, wreg, wshift, winvert) \ { .id = snd_soc_dapm_aif_out, .name = wname, .sname = stname, \ .reg = wreg, .shift = wshift, .invert = winvert } +#define SND_SOC_DAPM_AIF_OUT_E (wname, stname, wslot, wreg, wshift, winvert, \ + wevent, wflags) \ +{ .id = snd_soc_dapm_aif_out, .name = wname, .sname = stname, \ + .reg = wreg, .shift = wshift, .invert = winvert, \ + .event = wevent, .event_flags = wflags }#define SND_SOC_DAPM_DAC (wname, stname, wreg, wshift, winvert) \ { .id = snd_soc_dapm_dac, .name = wname, .sname = stname, .reg = wreg, \ .shift = wshift, .invert = winvert}
Signature · 1 line
1.7.1
Quoted 19 lines · Mark Brown
Signed-off-by Mark Brown <[email protected]>--- include/sound/soc-dapm.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)include/sound/soc-dapm.h +5
-0@@ -172,9 +172,19 @@#define SND_SOC_DAPM_AIF_IN (wname, stname, wslot, wreg, wshift, winvert) \ { .id = snd_soc_dapm_aif_in, .name = wname, .sname = stname, \ .reg = wreg, .shift = wshift, .invert = winvert } +#define SND_SOC_DAPM_AIF_IN_E (wname, stname, wslot, wreg, wshift, winvert, \ + wevent, wflags) \ +{ .id = snd_soc_dapm_aif_in, .name = wname, .sname = stname, \ + .reg = wreg, .shift = wshift, .invert = winvert, \ + .event = wevent, .event_flags = wflags }#define SND_SOC_DAPM_AIF_OUT (wname, stname, wslot, wreg, wshift, winvert) \
include/sound/soc-dapm.h line 190
Quoted 10 lines
include/sound/soc-dapm.h +5
-0{ .id = snd_soc_dapm_aif_out, .name = wname, .sname = stname, \ .reg = wreg, .shift = wshift, .invert = winvert } +#define SND_SOC_DAPM_AIF_OUT_E (wname, stname, wslot, wreg, wshift, winvert, \ + wevent, wflags) \ +{ .id = snd_soc_dapm_aif_out, .name = wname, .sname = stname, \ + .reg = wreg, .shift = wshift, .invert = winvert, \ + .event = wevent, .event_flags = wflags }#define SND_SOC_DAPM_DAC (wname, stname, wreg, wshift, winvert) \ { .id = snd_soc_dapm_dac, .name = wname, .sname = stname, .reg = wreg, \ .shift = wshift, .invert = winvert}
Acked-by Liam Girdwood <[email protected]>
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk