mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "asoc: wsa881x: Disable WSA ADC register when teardown"
This commit is contained in:
commit
a4dc347d72
1 changed files with 3 additions and 0 deletions
|
|
@ -1083,6 +1083,9 @@ static int wsa881x_spkr_pa_event(struct snd_soc_dapm_widget *w,
|
|||
0x80, 0x00);
|
||||
if (wsa881x->visense_enable) {
|
||||
wsa881x_visense_adc_ctrl(component, DISABLE);
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_ADC_EN_SEL_IBAIS,
|
||||
0x07, 0x00);
|
||||
wsa881x_visense_txfe_ctrl(component, DISABLE,
|
||||
0x00, 0x01, 0x01);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue