OSDN Git Service

ASoC: TSCS42xx: Add mic bias boost control
authorSteven Eckhoff <steven.eckhoff.opensource@gmail.com>
Mon, 4 Jun 2018 20:45:40 +0000 (15:45 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 18 Jun 2018 11:54:38 +0000 (12:54 +0100)
Add mic bias boost control

Signed-off-by: Steven Eckhoff <steven.eckhoff.opensource@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tscs42xx.c

index d18ff17..7431940 100644 (file)
@@ -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),