mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
asoc: wsa881x-analog: Update boost preset based on 8810/15
Update boost level setting of value 5.5v and 6v for 8815 and 8810 variants. Change-Id: I6e71c58bddb4958f1eda4ab4d4630bcb6073dcdb Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This commit is contained in:
parent
68f58b0d09
commit
4e53fb69af
1 changed files with 8 additions and 3 deletions
|
|
@ -397,9 +397,14 @@ static int wsa881x_boost_ctrl(struct snd_soc_component *component, bool enable)
|
|||
snd_soc_component_update_bits(component,
|
||||
WSA881X_BOOST_SLOPE_COMP_ISENSE_FB,
|
||||
0x03, 0x00);
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_BOOST_PRESET_OUT1,
|
||||
0xF0, 0x70);
|
||||
if (snd_soc_component_read32(component, WSA881X_OTP_REG_0))
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_BOOST_PRESET_OUT1,
|
||||
0xF0, 0x70);
|
||||
else
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_BOOST_PRESET_OUT1,
|
||||
0xF0, 0xB0);
|
||||
snd_soc_component_update_bits(component,
|
||||
WSA881X_ANA_CTL, 0x03, 0x01);
|
||||
snd_soc_component_update_bits(component,
|
||||
|
|
|
|||
Loading…
Reference in a new issue