* [PATCH] ASoC: Add event variants of the AIF widgets
@ 2010-09-06 8:38 Mark Brown
2010-09-06 10:33 ` Liam Girdwood
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2010-09-06 8:38 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel, Mark Brown
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
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}
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ASoC: Add event variants of the AIF widgets
2010-09-06 8:38 [PATCH] ASoC: Add event variants of the AIF widgets Mark Brown
@ 2010-09-06 10:33 ` Liam Girdwood
0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2010-09-06 10:33 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel
On Mon, 2010-09-06 at 09:38 +0100, Mark Brown wrote:
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> 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@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-06 10:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-06 8:38 [PATCH] ASoC: Add event variants of the AIF widgets Mark Brown
2010-09-06 10:33 ` Liam Girdwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).