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

Commit f09173df authored by Girish Mahadevan's avatar Girish Mahadevan Committed by Gerrit - the friendly Code Review server
Browse files

serial: msm_serial_hs: Move clk count voting out of runtime callbacks



Don't modify the ref count variable clk count inside the runtime callbacks.
Doing so could result in a case where the driver might end up calling a put
twice on the runtime object. The resulting imbalance will leave the runtime
state for the device in a bad state.

Change-Id: I34989768811b23762c4afe3e33e229ffa3f1db17
Signed-off-by: default avatarGirish Mahadevan <girishm@codeaurora.org>
parent a674be9d
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