mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
Merge "asoc: wcd937x: Disable EN_CUR_DET bit for receiver noise"
This commit is contained in:
commit
3ad70de4a8
1 changed files with 4 additions and 0 deletions
|
|
@ -567,6 +567,8 @@ static int wcd937x_codec_ear_dac_event(struct snd_soc_dapm_widget *w,
|
|||
WCD937X_DIGITAL_CDC_COMP_CTL_0,
|
||||
0x02, 0x02);
|
||||
usleep_range(5000, 5010);
|
||||
snd_soc_component_update_bits(component, WCD937X_FLYBACK_EN,
|
||||
0x04, 0x00);
|
||||
wcd_cls_h_fsm(component, &wcd937x->clsh_info,
|
||||
WCD_CLSH_EVENT_PRE_DAC,
|
||||
WCD_CLSH_STATE_EAR,
|
||||
|
|
@ -942,6 +944,8 @@ static int wcd937x_codec_enable_ear_pa(struct snd_soc_dapm_widget *w,
|
|||
WCD_CLSH_EVENT_POST_PA,
|
||||
WCD_CLSH_STATE_EAR,
|
||||
hph_mode);
|
||||
snd_soc_component_update_bits(component, WCD937X_FLYBACK_EN,
|
||||
0x04, 0x04);
|
||||
if (wcd937x->ear_rx_path & EAR_RX_PATH_AUX)
|
||||
snd_soc_component_update_bits(component,
|
||||
WCD937X_DIGITAL_PDM_WD_CTL2,
|
||||
|
|
|
|||
Loading…
Reference in a new issue