msm: kgsl: Directly enable the regulator after a soft reset
The power state machine doesn't get touched during a soft reset so the code expects the state to remain exactly the same once we get back to active. In reality there is a minor hiccup as the SP/TP regulator gets reset by the soft reset. That got fixed in a316a2a6 by always calling the regulator enable call. Unfortunately 7631272f was soon added and added statefulness to the regulator enable/disable pair. Beacuse adreno_regulator_disable() is never called during the soft reset process the state machine thinks the SP/TP is still active and the subsequent call to the regulator_enable hook returned silently. What we need to do is go straight to the hardware (since we *know* that the SP/TP is turned off) and force it back on so the state stays correct. CRs-Fixed: 745166 Change-Id: Ic0dedbade57361e94f11001032f42ba5d20c9956 Signed-off-by:Jordan Crouse <jcrouse@codeaurora.org>
Loading
Please register or sign in to comment