diff options
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/wm_hubs.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c index 41699bd1986c..e542027eea89 100644 --- a/sound/soc/codecs/wm_hubs.c +++ b/sound/soc/codecs/wm_hubs.c | |||
@@ -273,17 +273,12 @@ static int hp_event(struct snd_soc_dapm_widget *w, | |||
273 | 273 | ||
274 | /* Start the DC servo */ | 274 | /* Start the DC servo */ |
275 | snd_soc_update_bits(codec, WM8993_DC_SERVO_0, | 275 | snd_soc_update_bits(codec, WM8993_DC_SERVO_0, |
276 | WM8993_DCS_ENA_CHAN_0 | | 276 | 0xFFFF, |
277 | WM8993_DCS_ENA_CHAN_1 | | ||
278 | WM8993_DCS_TRIG_STARTUP_1 | | ||
279 | WM8993_DCS_TRIG_STARTUP_0, | ||
280 | WM8993_DCS_ENA_CHAN_0 | | 277 | WM8993_DCS_ENA_CHAN_0 | |
281 | WM8993_DCS_ENA_CHAN_1 | | 278 | WM8993_DCS_ENA_CHAN_1 | |
282 | WM8993_DCS_TRIG_STARTUP_1 | | 279 | WM8993_DCS_TRIG_STARTUP_1 | |
283 | WM8993_DCS_TRIG_STARTUP_0); | 280 | WM8993_DCS_TRIG_STARTUP_0); |
284 | wait_for_dc_servo(codec); | 281 | wait_for_dc_servo(codec); |
285 | snd_soc_update_bits(codec, WM8993_DC_SERVO_1, | ||
286 | WM8993_DCS_TIMER_PERIOD_01_MASK, 0xa); | ||
287 | 282 | ||
288 | reg |= WM8993_HPOUT1R_OUTP | WM8993_HPOUT1R_RMV_SHORT | | 283 | reg |= WM8993_HPOUT1R_OUTP | WM8993_HPOUT1R_RMV_SHORT | |
289 | WM8993_HPOUT1L_OUTP | WM8993_HPOUT1L_RMV_SHORT; | 284 | WM8993_HPOUT1L_OUTP | WM8993_HPOUT1L_RMV_SHORT; |
@@ -298,11 +293,8 @@ static int hp_event(struct snd_soc_dapm_widget *w, | |||
298 | WM8993_HPOUT1R_DLY | | 293 | WM8993_HPOUT1R_DLY | |
299 | WM8993_HPOUT1R_OUTP); | 294 | WM8993_HPOUT1R_OUTP); |
300 | 295 | ||
301 | snd_soc_update_bits(codec, WM8993_DC_SERVO_1, | ||
302 | WM8993_DCS_TIMER_PERIOD_01_MASK, 0); | ||
303 | snd_soc_update_bits(codec, WM8993_DC_SERVO_0, | 296 | snd_soc_update_bits(codec, WM8993_DC_SERVO_0, |
304 | WM8993_DCS_ENA_CHAN_0 | | 297 | 0xffff, 0); |
305 | WM8993_DCS_ENA_CHAN_1, 0); | ||
306 | 298 | ||
307 | snd_soc_write(codec, WM8993_ANALOGUE_HP_0, reg); | 299 | snd_soc_write(codec, WM8993_ANALOGUE_HP_0, reg); |
308 | snd_soc_update_bits(codec, WM8993_POWER_MANAGEMENT_1, | 300 | snd_soc_update_bits(codec, WM8993_POWER_MANAGEMENT_1, |