On Mon, 2010-09-06 at 09:38 +0100, Mark Brown wrote: > Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> > --- > include/sound/soc-dapm.h | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > > diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h > index c4a4456..8fd3b41 100644 > --- a/include/sound/soc-dapm.h > +++ b/include/sound/soc-dapm.h > @@ -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} Acked-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx> -- Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel