* [PATCH] ASoC: wm2200: Add ANC source select for outputs
@ 2013-01-31 17:45 Chris Rattray
0 siblings, 0 replies; only message in thread
From: Chris Rattray @ 2013-01-31 17:45 UTC (permalink / raw)
To: broonie; +Cc: alsa-devel, patches, lgirdwood, Chris Rattray
Signed-off-by: Chris Rattray <crattray@opensource.wolfsonmicro.com>
---
sound/soc/codecs/wm2200.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c
index 0181444..a850d88 100644
--- a/sound/soc/codecs/wm2200.c
+++ b/sound/soc/codecs/wm2200.c
@@ -1162,6 +1162,14 @@ SOC_DOUBLE_R_TLV("OUT2 Digital Volume", WM2200_DAC_DIGITAL_VOLUME_2L,
digital_tlv),
SOC_DOUBLE("OUT2 Switch", WM2200_PDM_1, WM2200_SPK1L_MUTE_SHIFT,
WM2200_SPK1R_MUTE_SHIFT, 1, 1),
+SOC_SINGLE("OUT1L ANC Switch", WM2200_DAC_VOLUME_LIMIT_1L,
+ WM2200_OUT1L_ANC_SRC_SHIFT, 1, 0),
+SOC_SINGLE("OUT1R ANC Switch", WM2200_DAC_VOLUME_LIMIT_1R,
+ WM2200_OUT1R_ANC_SRC_SHIFT, 1, 0),
+SOC_SINGLE("OUT2L ANC Switch", WM2200_DAC_VOLUME_LIMIT_2L,
+ WM2200_OUT2L_ANC_SRC_SHIFT, 1, 0),
+SOC_SINGLE("OUT2R ANC Switch", WM2200_DAC_VOLUME_LIMIT_2R,
+ WM2200_OUT2R_ANC_SRC_SHIFT, 1, 0),
};
WM2200_MIXER_ENUMS(OUT1L, WM2200_OUT1LMIX_INPUT_1_SOURCE);
--
1.7.2.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-31 17:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31 17:45 [PATCH] ASoC: wm2200: Add ANC source select for outputs Chris Rattray
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).