techpack: audio: fix audio cracks
This nice finding was done by @lostark13 and published at [1]. Let's reuse
this change but reduce sleep range
[1] 91cf3ba1b1
See-Also: https://github.com/nE0sIghT/android_kernel_xiaomi_msm8953/issues/11
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I301955c1456000b7ce5f82c9be11694b55d5a0cc
Signed-off-by: TogoFire <togofire@mailfence.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
This commit is contained in:
parent
65b7b4410b
commit
b2e15201f6
1 changed files with 1 additions and 0 deletions
|
|
@ -3330,6 +3330,7 @@ static int msm_anlg_cdc_codec_enable_ear_pa(struct snd_soc_dapm_widget *w,
|
|||
DIG_CDC_EVENT_RX1_MUTE_OFF);
|
||||
break;
|
||||
case SND_SOC_DAPM_PRE_PMD:
|
||||
usleep_range(4000, 4100);
|
||||
msm_anlg_cdc_dig_notifier_call(codec,
|
||||
DIG_CDC_EVENT_RX1_MUTE_ON);
|
||||
/* Wait for 20ms for RX digital mute to take effect */
|
||||
|
|
|
|||
Loading…
Reference in a new issue