summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-01-29 03:49:25 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-02-11 22:24:54 +0300
commit21ad180d0fdfb2ab6df0f19c7dedce829a9ed1ed (patch)
treef0d7f8f774ab7a4cd20a2090ddaeec68001bb9be /crypto
parent0f6dad11fdf765a2fc89ef86961efcfcf94b5d0a (diff)
downloadlinux-21ad180d0fdfb2ab6df0f19c7dedce829a9ed1ed.tar.xz
power: supply: ab8500_charger: Fix VBAT interval check
When using USB charging, the AB8500 charger is periodically checking VBAT for a threshold at 3.8V. This crashes badly, as the class_for_each_device() was passed the wrong argument. I think this has maybe worked by chance in the past because of how the structs were arranged but it is leading to crashes now. Fix this up and also switch to using microvolts for the voltages like the rest of the code. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions