alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Chris Rattray <crattray@opensource.wolfsonmicro.com>
To: broonie@opensource.wolfsonmicro.com
Cc: alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com,
	lgirdwood@gmail.com,
	Chris Rattray <crattray@opensource.wolfsonmicro.com>
Subject: [PATCH] ASoC: wm2200: Add ANC source select for outputs
Date: Thu, 31 Jan 2013 17:45:14 +0000	[thread overview]
Message-ID: <1359654314-32183-1-git-send-email-crattray@opensource.wolfsonmicro.com> (raw)

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

                 reply	other threads:[~2013-01-31 17:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1359654314-32183-1-git-send-email-crattray@opensource.wolfsonmicro.com \
    --to=crattray@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=lgirdwood@gmail.com \
    --cc=patches@opensource.wolfsonmicro.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 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).