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(®ulator_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:Vivek Aknurwar <viveka@codeaurora.org>
Loading
Please register or sign in to comment