Skip to content

Fixes for rk817_charger driver

Chris Morgan linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2power: supply: Remove unneeded code in rk817_chargerdrivers/power/supply/rk817_charger.c+0 -130 replies
2/2power: supply: Fix low SOC bugs in rk817 driverdrivers/power/supply/rk817_charger.c+28 -70 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] Fixes for rk817_charger driver

From: Chris Morgan <[email protected]>

After using the driver for a few months I noticed a few issues that this patch series seeks to address. Namely, there appears to be some left over code that was used for debugging during development that is no longer needed. Additionally, when the state of charge drops to 0 there is an issue with reading the value on boot because the columb counter appears to hold a signed value.

With these fixes in place the battery driver appears to operate better and without the odd bug of an unsigned integer overflow on the columb counter.

Chris Morgan (2):
power: supply: Remove unneeded code in rk817_charger
power: supply: Fix low SOC bugs in rk817 driver

 drivers/power/supply/rk817_charger.c | 48 ++++++++++++++++------------
 1 file changed, 28 insertions(+), 20 deletions(-)
Signature · 1 line
2.34.1