All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Cc: alsa-devel@alsa-project.org, sameo@linux.intel.com,
	Vinod Koul <vinod.koul@intel.com>,
	patches@opensource.wolfsonmicro.com, broonie@kernel.org,
	lgirdwood@gmail.org, lee.jones@linaro.org
Subject: Re: [PATCH 1/3] ASoC: Add SND_SOC_BYTES_EXT control type
Date: Fri, 06 Jun 2014 14:48:28 +0200	[thread overview]
Message-ID: <5391B89C.80205@metafoo.de> (raw)
In-Reply-To: <1402058000-5357-1-git-send-email-ckeepax@opensource.wolfsonmicro.com>

On 06/06/2014 02:33 PM, Charles Keepax wrote:
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Vinod did beat you on this one:

http://mailman.alsa-project.org/pipermail/alsa-devel/2014-May/076155.html

Although that version of the macro looks slightly different.

> ---
>   include/sound/soc.h |    7 +++++++
>   1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/include/sound/soc.h b/include/sound/soc.h
> index ed9e2d7..92c1b99 100644
> --- a/include/sound/soc.h
> +++ b/include/sound/soc.h
> @@ -256,6 +256,13 @@
>   		((unsigned long)&(struct soc_bytes)           \
>   		{.base = xbase, .num_regs = xregs }) }
>
> +#define SND_SOC_BYTES_EXT(xname, xbase, xregs, xhandler_get, xhandler_put) \
> +{	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname,		   \
> +	.info = snd_soc_bytes_info, .get = xhandler_get,		   \
> +	.put = xhandler_put, .private_value =				   \
> +		((unsigned long)&(struct soc_bytes)			   \
> +		{.base = xbase, .num_regs = xregs }) }
> +
>   #define SND_SOC_BYTES_MASK(xname, xbase, xregs, xmask)	      \
>   {	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname,   \
>   	.info = snd_soc_bytes_info, .get = snd_soc_bytes_get, \
>

  parent reply	other threads:[~2014-06-06 12:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-06 12:33 [PATCH 1/3] ASoC: Add SND_SOC_BYTES_EXT control type Charles Keepax
2014-06-06 12:33 ` [PATCH 2/3] mfd: wm5102: Mark additional registers as volatile Charles Keepax
2014-06-06 13:07   ` Charles Keepax
2014-06-06 12:33 ` [PATCH 3/3] ASoC: wm5102: Add controls to allow shaping of ultrasonic response Charles Keepax
2014-06-17 19:22   ` Lee Jones
2014-06-06 12:48 ` Lars-Peter Clausen [this message]
2014-06-06 12:53   ` [PATCH 1/3] ASoC: Add SND_SOC_BYTES_EXT control type Charles Keepax

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=5391B89C.80205@metafoo.de \
    --to=lars@metafoo.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.org \
    --cc=patches@opensource.wolfsonmicro.com \
    --cc=sameo@linux.intel.com \
    --cc=vinod.koul@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.