Merge "ASoC: wcd937x: Enable hph OCP"
This commit is contained in:
commit
d2d43fa980
@ -118,6 +118,10 @@ static int wcd937x_init_reg(struct snd_soc_codec *codec)
|
||||
snd_soc_update_bits(codec, WCD937X_ANA_BIAS, 0x40, 0x40);
|
||||
usleep_range(10000, 10010);
|
||||
snd_soc_update_bits(codec, WCD937X_ANA_BIAS, 0x40, 0x00);
|
||||
snd_soc_update_bits(codec, WCD937X_HPH_OCP_CTL, 0xFF, 0x3A);
|
||||
snd_soc_update_bits(codec, WCD937X_RX_OCP_CTL, 0x0F, 0x02);
|
||||
snd_soc_update_bits(codec, WCD937X_HPH_R_TEST, 0x01, 0x01);
|
||||
snd_soc_update_bits(codec, WCD937X_HPH_L_TEST, 0x01, 0x01);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user