diff options
| author | 2026-08-12 01:30:02 +0200 | |
|---|---|---|
| committer | 2026-09-10 00:43:04 +0200 | |
| commit | 2548e4fa576a87a3b0d1b15a9c3f909bc54887b5 (patch) | |
| tree | 6f51ef21d5172249ca7d30b7ef41c90eae8ecf3d /scripts/Makefile.thinlto | |
| parent | power: supply: qcom_smbx: validate battery float voltage (diff) | |
power: supply: qcom_smbx: notify battery overvoltage recovery
The battery-overvoltage IRQ is configured for both edges, but its handler
only notifies the power-supply core while the fault bit is asserted. The
falling edge therefore does not publish the recovered health and status.
The handler also ignores register-read failures before testing status.
Handle read errors, log only an asserted fault, and notify the
power-supply core after every successful edge read.
Fixes: 8648aeb5d7b7 ("power: supply: add Qualcomm PMI8998 SMB2 Charger driver")
Cc: stable@vger.kernel.org
Signed-off-by: Robin Snyders <robin@snyders.xyz>
Link: https://patch.msgid.link/20260812-qcom-smbx-fixes-v1-5-eb48246be599@snyders.xyz
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
