mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "input: qcom-hv-haptics: config open-loop drive when hBoost is enabled"
This commit is contained in:
commit
6f597642d4
1 changed files with 1 additions and 1 deletions
|
|
@ -1474,7 +1474,7 @@ static int haptics_open_loop_drive_config(struct haptics_chip *chip, bool en)
|
|||
u8 val;
|
||||
|
||||
if ((is_boost_vreg_enabled_in_open_loop(chip) ||
|
||||
is_haptics_external_powered(chip)) && en) {
|
||||
chip->hboost_enabled || is_haptics_external_powered(chip)) && en) {
|
||||
/* Force VREG_RDY */
|
||||
rc = haptics_masked_write(chip, chip->cfg_addr_base,
|
||||
HAP_CFG_VSET_CFG_REG, FORCE_VREG_RDY_BIT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue