mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
Merge "ASoC: wcd938x: Enable surge protection at bootup" into audio-drivers.lnx.5.0
This commit is contained in:
commit
679137e996
1 changed files with 2 additions and 0 deletions
|
|
@ -283,6 +283,8 @@ static int wcd938x_init_reg(struct snd_soc_component *component)
|
|||
snd_soc_component_update_bits(component, WCD938X_SLEEP_CTL, 0x0E,
|
||||
((snd_soc_component_read32(component,
|
||||
WCD938X_DIGITAL_EFUSE_REG_30) & 0x07) << 1));
|
||||
snd_soc_component_update_bits(component,
|
||||
WCD938X_HPH_SURGE_HPHLR_SURGE_EN, 0xC0, 0xC0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue