From: Matt Flax <flatmax@flatmax.org>
To: alsa-devel@alsa-project.org
Cc: brian.austin@cirrus.com, broonie@kernel.org,
ckeepax@opensource.cirrus.com, paul.handrigan@cirrus.com,
Matt Flax <flatmax@flatmax.org>
Subject: [PATCH] ASoC: cs4265: Add a MIC pre. switch
Date: Fri, 7 Sep 2018 13:27:29 +1000 [thread overview]
Message-ID: <20180907032729.26532-1-flatmax@flatmax.org> (raw)
This patch adds a MIC preamp enable switch as a SOC_SINGLE.
Signed-off-by: Matt Flax <flatmax@flatmax.org>
---
sound/soc/codecs/cs4265.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c
index d9eebf6a..03476f93 100644
--- a/sound/soc/codecs/cs4265.c
+++ b/sound/soc/codecs/cs4265.c
@@ -161,6 +161,7 @@ static const struct snd_kcontrol_new cs4265_snd_controls[] = {
SOC_SINGLE("MMTLR Data Switch", CS4265_SPDIF_CTL2, 0, 1, 0),
SOC_ENUM("Mono Channel Select", spdif_mono_select_enum),
SND_SOC_BYTES("C Data Buffer", CS4265_C_DATA_BUFF, 24),
+ SOC_SINGLE("MIC Preamp", CS4265_PWRCTL, 3, 1, 1),
};
static const struct snd_soc_dapm_widget cs4265_dapm_widgets[] = {
--
2.17.1
next reply other threads:[~2018-09-07 3:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-07 3:27 Matt Flax [this message]
2018-09-07 8:26 ` [PATCH] ASoC: cs4265: Add a MIC pre. switch Charles Keepax
2018-09-07 10:18 ` Matt Flax
2018-09-07 10:55 ` Charles Keepax
2018-09-07 11:06 ` Matt Flax
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=20180907032729.26532-1-flatmax@flatmax.org \
--to=flatmax@flatmax.org \
--cc=alsa-devel@alsa-project.org \
--cc=brian.austin@cirrus.com \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.cirrus.com \
--cc=paul.handrigan@cirrus.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