Commit 774896bc authored by Ashish Chavan's avatar Ashish Chavan Committed by Gerrit - the friendly Code Review server
Browse files

power: smb1398: Do not read the registers before system resume



Do not read the charge pump registers before the driver resume
which is invoked during the system resume process. This prevents
from flagging unnecessary errors due to power_supply_events during
the early resume of the system

While at it, reset rc to 0 after reading suspend_props in smb1390
driver.

Change-Id: I84d2203f6ec833033386797792c80cd1781dbf58
Signed-off-by: default avatarAshish Chavan <ashichav@codeaurora.org>
parent c78c048b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment