diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-06 11:57:29 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-12 17:08:52 -0500 |
commit | 43cd8bf1c8d8f6e897ed0f2c4bd50a4266b5c36e (patch) | |
tree | c901f3d92c297d999e09d75218803fe27062671b /sound/soc/codecs/wm5110.c | |
parent | 699ba4546cfe3f4eee73aff4f307bf16362f9232 (diff) |
ASoC: arizona: Automatically manage input mutes
For optimal performance the inputs should be kept muted until after power
up. Since there are few use cases for muting inputs during capture move
the mutes to automatic control.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm5110.c')
-rw-r--r-- | sound/soc/codecs/wm5110.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c index 23199372d518..a1631320b448 100644 --- a/sound/soc/codecs/wm5110.c +++ b/sound/soc/codecs/wm5110.c | |||
@@ -80,23 +80,6 @@ SOC_SINGLE_RANGE_TLV("IN3L Volume", ARIZONA_IN3L_CONTROL, | |||
80 | SOC_SINGLE_RANGE_TLV("IN3R Volume", ARIZONA_IN3R_CONTROL, | 80 | SOC_SINGLE_RANGE_TLV("IN3R Volume", ARIZONA_IN3R_CONTROL, |
81 | ARIZONA_IN3R_PGA_VOL_SHIFT, 0x40, 0x5f, 0, ana_tlv), | 81 | ARIZONA_IN3R_PGA_VOL_SHIFT, 0x40, 0x5f, 0, ana_tlv), |
82 | 82 | ||
83 | SOC_SINGLE("IN1L Digital Switch", ARIZONA_ADC_DIGITAL_VOLUME_1L, | ||
84 | ARIZONA_IN1L_MUTE_SHIFT, 1, 1), | ||
85 | SOC_SINGLE("IN1R Digital Switch", ARIZONA_ADC_DIGITAL_VOLUME_1R, | ||
86 | ARIZONA_IN1R_MUTE_SHIFT, 1, 1), | ||
87 | SOC_SINGLE("IN2L Digital Switch", ARIZONA_ADC_DIGITAL_VOLUME_2L, | ||
88 | ARIZONA_IN2L_MUTE_SHIFT, 1, 1), | ||
89 | SOC_SINGLE("IN2R Digital Switch", ARIZONA_ADC_DIGITAL_VOLUME_2R, | ||
90 | ARIZONA_IN2R_MUTE_SHIFT, 1, 1), | ||
91 | SOC_SINGLE("IN3L Digital Switch", ARIZONA_ADC_DIGITAL_VOLUME_3L, | ||
92 | ARIZONA_IN3L_MUTE_SHIFT, 1, 1), | ||
93 | SOC_SINGLE("IN3R Digital Switch", ARIZONA_ADC_DIGITAL_VOLUME_3R, | ||
94 | ARIZONA_IN3R_MUTE_SHIFT, 1, 1), | ||
95 | SOC_SINGLE("IN4L Digital Switch", ARIZONA_ADC_DIGITAL_VOLUME_4L, | ||
96 | ARIZONA_IN4L_MUTE_SHIFT, 1, 1), | ||
97 | SOC_SINGLE("IN4R Digital Switch", ARIZONA_ADC_DIGITAL_VOLUME_4R, | ||
98 | ARIZONA_IN4R_MUTE_SHIFT, 1, 1), | ||
99 | |||
100 | SOC_SINGLE_TLV("IN1L Digital Volume", ARIZONA_ADC_DIGITAL_VOLUME_1L, | 83 | SOC_SINGLE_TLV("IN1L Digital Volume", ARIZONA_ADC_DIGITAL_VOLUME_1L, |
101 | ARIZONA_IN1L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv), | 84 | ARIZONA_IN1L_DIG_VOL_SHIFT, 0xbf, 0, digital_tlv), |
102 | SOC_SINGLE_TLV("IN1R Digital Volume", ARIZONA_ADC_DIGITAL_VOLUME_1R, | 85 | SOC_SINGLE_TLV("IN1R Digital Volume", ARIZONA_ADC_DIGITAL_VOLUME_1R, |