Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5b2e7227 authored by Vivek Aknurwar's avatar Vivek Aknurwar
Browse files

clk: qcom: gdsc-regulator: Remove regulator voltage level voting



On Lahaina, both VDD_GFX and VDD_MMCX support LowSVS as the minimum
non-OFF level. Therefore regulator_set_voltage() calls are redundant
and can be safely removed.

Commit f8702f9e ("regulator: core: Use ww_mutex for regulators
locking") introduced a call to mutex_lock(&regulator_list_mutex)
inside of regulator_lock_dependent(). This additional locking allows
deadlock to occur for regulator devices whose regulator_ops callback
functions internally call consumer regulator framework API functions
(e.g. regulator_enable(), regulator_disable(), or regulator_set_voltage()).

For short term remove all regulator_set_voltage() calls in the
gdsc-regulator driver as a short term partial workaround for regulator
framework deadlock issue.

Change-Id: I36dff589fe51ea4c932c310b7290a45b21f77992
Signed-off-by: default avatarVivek Aknurwar <viveka@codeaurora.org>
parent 816c0efa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment