alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] ASoC: Add event variants of the AIF widgets
Date: Mon, 06 Sep 2010 11:33:49 +0100	[thread overview]
Message-ID: <1283769229.3078.16.camel@odin> (raw)
In-Reply-To: <1283762284-10034-1-git-send-email-broonie@opensource.wolfsonmicro.com>

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

      reply	other threads:[~2010-09-06 10:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-06  8:38 [PATCH] ASoC: Add event variants of the AIF widgets Mark Brown
2010-09-06 10:33 ` Liam Girdwood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1283769229.3078.16.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).