All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/11] ASoC: tlv320aix3x: Use SOC_SINGLE_EXT() instead of open-coding it
@ 2013-06-19 17:33 Lars-Peter Clausen
  2013-06-19 17:33 ` [PATCH 02/11] ASoC: wm8400: Use SOC_SINGLE_EXT_TLV() " Lars-Peter Clausen
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Lars-Peter Clausen @ 2013-06-19 17:33 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen

Cc: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/tlv320aic3x.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sound/soc/codecs/tlv320aic3x.c b/sound/soc/codecs/tlv320aic3x.c
index 1514bf8..e5b9268 100644
--- a/sound/soc/codecs/tlv320aic3x.c
+++ b/sound/soc/codecs/tlv320aic3x.c
@@ -128,10 +128,8 @@ static const u8 aic3x_reg[AIC3X_CACHEREGNUM] = {
 };
 
 #define SOC_DAPM_SINGLE_AIC3X(xname, reg, shift, mask, invert) \
-{	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
-	.info = snd_soc_info_volsw, \
-	.get = snd_soc_dapm_get_volsw, .put = snd_soc_dapm_put_volsw_aic3x, \
-	.private_value =  SOC_SINGLE_VALUE(reg, shift, mask, invert) }
+	SOC_SINGLE_EXT(xname, reg, shift, mask, invert, \
+		snd_soc_dapm_get_volsw, snd_soc_dapm_put_volsw_aic3x)
 
 /*
  * All input lines are connected when !0xf and disconnected with 0xf bit field,
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-06-19 18:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19 17:33 [PATCH 01/11] ASoC: tlv320aix3x: Use SOC_SINGLE_EXT() instead of open-coding it Lars-Peter Clausen
2013-06-19 17:33 ` [PATCH 02/11] ASoC: wm8400: Use SOC_SINGLE_EXT_TLV() " Lars-Peter Clausen
2013-06-19 17:33 ` [PATCH 03/11] ASoC: wm8903: Use SOC_SINGLE_EXT() " Lars-Peter Clausen
2013-06-19 17:33 ` [PATCH 04/11] ASoC: wm8904: " Lars-Peter Clausen
2013-06-19 17:33 ` [PATCH 05/11] ASoC: wm8990: Use SOC_SINGLE_EXT_TLV() " Lars-Peter Clausen
2013-06-19 17:33 ` [PATCH 06/11] ASoC: wm8991: " Lars-Peter Clausen
2013-06-19 17:33 ` [PATCH 07/11] ASoC: wm8994: Use SOC_SINGLE_EXT() " Lars-Peter Clausen
2013-06-19 17:34 ` [PATCH 08/11] ASoC: wm8995: " Lars-Peter Clausen
2013-06-19 17:34 ` [PATCH 09/11] ASoC: wm_hubs: " Lars-Peter Clausen
2013-06-19 17:34 ` [PATCH 10/11] ASoC: wm_adsp: Use SND_SOC_DAPM_PGA_E() " Lars-Peter Clausen
2013-06-19 17:34 ` [PATCH 11/11] ASoC: 88pm860x: " Lars-Peter Clausen
2013-06-19 18:46 ` [PATCH 01/11] ASoC: tlv320aix3x: Use SOC_SINGLE_EXT() " Mark Brown

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.