asoc: wcd938x: Disable EN_CUR_DET bit for receiver noise
Disable EN_CUR_DET to fix receiver noise as per hardware specifications recommendation. Change-Id: Ib1ea1eecc3e0f2ffeeb5f41c344e51c903cd2300 Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org> Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Esse commit está contido em:
@@ -532,6 +532,8 @@ static int wcd938x_codec_ear_dac_event(struct snd_soc_dapm_widget *w,
|
||||
WCD938X_DIGITAL_CDC_COMP_CTL_0, 0x02, 0x02);
|
||||
/* 5 msec delay as per HW requirement */
|
||||
usleep_range(5000, 5010);
|
||||
snd_soc_component_update_bits(component, WCD938X_FLYBACK_EN,
|
||||
0x04, 0x00);
|
||||
wcd_cls_h_fsm(component, &wcd938x->clsh_info,
|
||||
WCD_CLSH_EVENT_PRE_DAC,
|
||||
WCD_CLSH_STATE_EAR,
|
||||
@@ -824,6 +826,8 @@ static int wcd938x_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, WCD938X_FLYBACK_EN,
|
||||
0x04, 0x04);
|
||||
break;
|
||||
};
|
||||
return ret;
|
||||
|
Referência em uma nova issue
Block a user