All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: Remove unused DAPM_DOUBLE control types
@ 2010-12-14 17:53 Mark Brown
  2010-12-14 17:53 ` [PATCH 2/2] ASoC: Do DAPM control updates in the middle of DAPM sequences Mark Brown
  2010-12-15 13:37 ` [PATCH 1/2] ASoC: Remove unused DAPM_DOUBLE control types Liam Girdwood
  0 siblings, 2 replies; 10+ messages in thread
From: Mark Brown @ 2010-12-14 17:53 UTC (permalink / raw)
  To: Liam Girdwood, Peter Ujfalusi; +Cc: alsa-devel, patches, Mark Brown

There are no users of these and it's not clear what they would do given
the mono flow modelling which DAPM does. If need arises we can add them
again.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---

May as well do this anyway, regardless of the fate of patch 2/2 but
patch 2/2 will remove the implementation of stereo controls so depends
on this one.

 include/sound/soc-dapm.h |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 2f76a51..aef975f 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -227,13 +227,6 @@
 	.info = snd_soc_info_volsw, \
 	.get = snd_soc_dapm_get_volsw, .put = snd_soc_dapm_put_volsw, \
 	.private_value =  SOC_SINGLE_VALUE(reg, shift, max, invert) }
-#define SOC_DAPM_DOUBLE(xname, reg, shift_left, shift_right, max, invert, \
-	power) \
-{	.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, \
- 	.private_value = (reg) | ((shift_left) << 8) | ((shift_right) << 12) |\
-		((max) << 16) | ((invert) << 24) }
 #define SOC_DAPM_SINGLE_TLV(xname, reg, shift, max, invert, tlv_array) \
 {	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
 	.info = snd_soc_info_volsw, \
@@ -241,15 +234,6 @@
 	.tlv.p = (tlv_array), \
 	.get = snd_soc_dapm_get_volsw, .put = snd_soc_dapm_put_volsw, \
 	.private_value =  SOC_SINGLE_VALUE(reg, shift, max, invert) }
-#define SOC_DAPM_DOUBLE_TLV(xname, reg, shift_left, shift_right, max, invert, \
-	power, tlv_array) \
-{	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname), \
-	.access = SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_READWRITE,\
-	.tlv.p = (tlv_array), \
-	.info = snd_soc_info_volsw, \
-	.get = snd_soc_dapm_get_volsw, .put = snd_soc_dapm_put_volsw, \
-	.private_value = (reg) | ((shift_left) << 8) | ((shift_right) << 12) |\
-		((max) << 16) | ((invert) << 24) }
 #define SOC_DAPM_ENUM(xname, xenum) \
 {	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
 	.info = snd_soc_info_enum_double, \
-- 
1.7.1

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

end of thread, other threads:[~2010-12-17 11:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 17:53 [PATCH 1/2] ASoC: Remove unused DAPM_DOUBLE control types Mark Brown
2010-12-14 17:53 ` [PATCH 2/2] ASoC: Do DAPM control updates in the middle of DAPM sequences Mark Brown
2010-12-16  8:39   ` Peter Ujfalusi
2010-12-16 13:03   ` Peter Ujfalusi
2010-12-16 13:51   ` Peter Ujfalusi
2010-12-16 13:55     ` Mark Brown
2010-12-17  7:08       ` Peter Ujfalusi
2010-12-17 11:45         ` Mark Brown
2010-12-15 13:37 ` [PATCH 1/2] ASoC: Remove unused DAPM_DOUBLE control types Liam Girdwood
2010-12-15 18:10   ` 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.