summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHenrik Grimler <henrik.grimler@axis.com>2026-08-11 13:47:47 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-08-13 00:08:50 +0200
commit2da28b059e0ddcd2e1956eeae383246207965573 (patch)
tree0c8f7f9af9de9561486fffb828bbeaaa897e6896 /scripts
parente9387e9ab5121f330d313afb90430c02200f9782 (diff)
downloadlinux-2da28b059e0ddcd2e1956eeae383246207965573.tar.gz
linux-2da28b059e0ddcd2e1956eeae383246207965573.zip
power: supply: bq27xxx: bq27z561: fix invalid AverageEnergy address
bq27z561 currently uses the AveragePower reg, 0x22, for reading both AveragePower and AvailableEnergy. The technical reference manual does not mention AvailableEnergy, and it does not make sense to read a cumulative, always positive, property like AvailableEnergy from a rate property like AveragePower. Set REG_AE as invalid to fix it. Fixes: 6f24ff97e323 ("power: supply: bq27xxx_battery: Add the BQ27Z561 Battery monitor") Signed-off-by: Henrik Grimler <henrik.grimler@axis.com> Link: https://patch.msgid.link/20260811-bq27z746-v1-5-3a4fa38205cc@axis.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions