aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/codecs/tscs42xx.c
diff options
context:
space:
mode:
authorSteven Eckhoff <steven.eckhoff.opensource@gmail.com>2018-06-04 15:45:40 -0500
committerMark Brown <broonie@kernel.org>2018-06-18 12:54:38 +0100
commit58f7d470c85801f55bbae2d3c93fe1a3d34aa143 (patch)
tree056307de84ca567be10844ca9cdb8d2263fe2fb2 /sound/soc/codecs/tscs42xx.c
parentASoC: ak4458: make structure soc_codec_dev_ak4458 static const (diff)
downloadwireguard-linux-58f7d470c85801f55bbae2d3c93fe1a3d34aa143.tar.xz
wireguard-linux-58f7d470c85801f55bbae2d3c93fe1a3d34aa143.zip
ASoC: TSCS42xx: Add mic bias boost control
Add mic bias boost control Signed-off-by: Steven Eckhoff <steven.eckhoff.opensource@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tscs42xx.c')
-rw-r--r--sound/soc/codecs/tscs42xx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/tscs42xx.c b/sound/soc/codecs/tscs42xx.c
index d18ff17719cc..743194052fc4 100644
--- a/sound/soc/codecs/tscs42xx.c
+++ b/sound/soc/codecs/tscs42xx.c
@@ -644,6 +644,9 @@ static const struct snd_kcontrol_new tscs42xx_snd_controls[] = {
/* Input Channel Map */
SOC_ENUM("Input Channel Map", ch_map_select_enum),
+ /* Mic Bias */
+ SOC_SINGLE("Mic Bias Boost Switch", 0x71, 0x07, 1, 0),
+
/* Coefficient Ram */
COEFF_RAM_CTL("Cascade1L BiQuad1", BIQUAD_SIZE, 0x00),
COEFF_RAM_CTL("Cascade1L BiQuad2", BIQUAD_SIZE, 0x05),