aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm5110.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2013-12-19 04:11:02 -0500
committerMark Brown <broonie@linaro.org>2013-12-19 05:17:51 -0500
commita4c0d2735c66c2363100575324a2f7659fb1f684 (patch)
treec4191e15bac6edd77a79f6ef774358b3ca089123 /sound/soc/codecs/wm5110.c
parent792b62e705048f4da9a6f570c15093ab669839b6 (diff)
ASoC: wm5110: Expose switch controls for DRE
Certain use-cases require the DRE to be disabled so expose controls for the enables. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm5110.c')
-rw-r--r--sound/soc/codecs/wm5110.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c
index ebcbe7831e57..3487ffa2e950 100644
--- a/sound/soc/codecs/wm5110.c
+++ b/sound/soc/codecs/wm5110.c
@@ -371,6 +371,13 @@ SOC_DOUBLE("SPKDAT1 Switch", ARIZONA_PDM_SPK1_CTRL_1, ARIZONA_SPK1L_MUTE_SHIFT,
371SOC_DOUBLE("SPKDAT2 Switch", ARIZONA_PDM_SPK2_CTRL_1, ARIZONA_SPK2L_MUTE_SHIFT, 371SOC_DOUBLE("SPKDAT2 Switch", ARIZONA_PDM_SPK2_CTRL_1, ARIZONA_SPK2L_MUTE_SHIFT,
372 ARIZONA_SPK2R_MUTE_SHIFT, 1, 1), 372 ARIZONA_SPK2R_MUTE_SHIFT, 1, 1),
373 373
374SOC_DOUBLE("HPOUT1 DRE Switch", ARIZONA_DRE_ENABLE,
375 ARIZONA_DRE1L_ENA_SHIFT, ARIZONA_DRE1R_ENA_SHIFT, 1, 0),
376SOC_DOUBLE("HPOUT2 DRE Switch", ARIZONA_DRE_ENABLE,
377 ARIZONA_DRE2L_ENA_SHIFT, ARIZONA_DRE2R_ENA_SHIFT, 1, 0),
378SOC_DOUBLE("HPOUT3 DRE Switch", ARIZONA_DRE_ENABLE,
379 ARIZONA_DRE3L_ENA_SHIFT, ARIZONA_DRE3R_ENA_SHIFT, 1, 0),
380
374SOC_ENUM("Output Ramp Up", arizona_out_vi_ramp), 381SOC_ENUM("Output Ramp Up", arizona_out_vi_ramp),
375SOC_ENUM("Output Ramp Down", arizona_out_vd_ramp), 382SOC_ENUM("Output Ramp Down", arizona_out_vd_ramp),
376 383