Skip to contentSkip to conversation

ASoC: Remove controls from sequenced PGA arguments

PATCH In review Mark Brown 2 participants 2 messages Jan 25, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Remove controls from sequenced PGA arguments

We have zero users for PGA controls and the core support for them was removed a while ago so no point in cut'n'pasting them into new macros, even if it's too much hassle to update the existing ones.

---
 include/sound/soc-dapm.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
include/sound/soc-dapm.h +4 -4
index 6c9ae23..6a25e69 100644
@@ -158,11 +158,11 @@
 	.event = wevent, .event_flags = wflags}
 
 /* additional sequencing control within an event type */
-#define SND_SOC_DAPM_PGA_S(wname, wsubseq, wreg, wshift, winvert, wcontrols, \
-	wncontrols, wevent, wflags) \
+#define SND_SOC_DAPM_PGA_S(wname, wsubseq, wreg, wshift, winvert, \
+	wevent, wflags) \
 {	.id = snd_soc_dapm_pga, .name = wname, .reg = wreg, .shift = wshift, \
-	.invert = winvert, .kcontrols = wcontrols, .num_kcontrols = wncontrols, \
-	.event = wevent, .event_flags = wflags, .subseq = wsubseq}
+	.invert = winvert, .event = wevent, .event_flags = wflags, \
+	.subseq = wsubseq}
 #define SND_SOC_DAPM_SUPPLY_S(wname, wsubseq, wreg, wshift, winvert, wevent, \
 	wflags)	\
 {	.id = snd_soc_dapm_supply, .name = wname, .reg = wreg,	\
Signature · 1 line
1.7.2.3
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Mark Brown

We have zero users for PGA controls and the core support for them was removed a while ago so no point in cut'n'pasting them into new macros, even if it's too much hassle to update the existing ones.

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk