Commit 8cd05ebb authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Bryan Huntsman
Browse files

power: isl9519q: start/stop charging during suspend



If the i2c bus is suspend and msm_charger asks the isl charger
to start or stop charging, the isl charger immediately accesses
the i2c bus to program the isl chip. These i2c transactions
causes failures when i2c is suspended.

Remember the suspended state of the device (and hence the i2c bus),
and if a transaction is desired while it is suspended, execute
them when the isl device resumes.

Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent cfb536b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment