clk: qcom: gdsc: Add lock during gdsc enable and disable
To avoid multiple GDSCs to be simultaneously enabled/disabled, hold a mutex
lock during 'gdsc_enable' and 'gdsc_disable'. This will help in avoiding
any memory droop during footswitch enable/disable.
Change-Id: I343f32fd1cb5cf39be4807e9d3bb6c9a57e4960a
Signed-off-by:
Taniya Das <tdas@codeaurora.org>
Loading
Please register or sign in to comment