Skip to content

rk817_charger full charge capacity fixes

Chris Morgan linux-pm 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2power: supply: rk817: stop updating info in suspenddrivers/power/supply/rk817_charger.c+10 -10 replies
2/2power: supply: rk817: Update battery capacity calibrationdrivers/power/supply/rk817_charger.c+55 -460 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] rk817_charger full charge capacity fixes

From: Chris Morgan <[email protected]>

The code for fully charged capacity is still causing problems when invalid values are reported by the charger (usually after resume from suspend). Stop attempting to auto calibrate this and instead allow the value to be writeable from userspace.

Chris Morgan (2):
power: supply: rk817: stop updating info in suspend
power: supply: rk817: Update battery capacity calibration

 drivers/power/supply/rk817_charger.c | 112 ++++++++++++++++-----------
 1 file changed, 65 insertions(+), 47 deletions(-)
Signature · 1 line
2.34.1