aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorRobin Snyders <robin@snyders.xyz>2026-08-12 01:29:59 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-09-10 00:43:04 +0200
commit68f645192f64e1037685dbdb0dffb41a5a012056 (patch)
tree86dabb86b81afbd5a642514f8be7f6417701fab9 /scripts/Makefile.thinlto
parentpower: supply: qcom_smbx: include base when petting watchdog (diff)
power: supply: qcom_smbx: test battery health status bits
BATTERY_CHARGER_STATUS_2 contains independent status and fault bits. Switching on the complete register only recognizes a fault when it is the sole asserted bit, and can report a healthy battery when another status bit is set at the same time. Test the relevant fault bits in priority order, matching the Qualcomm downstream driver handling. Fixes: 8648aeb5d7b7 ("power: supply: add Qualcomm PMI8998 SMB2 Charger driver") Cc: stable@vger.kernel.org Signed-off-by: Robin Snyders <robin@snyders.xyz> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://patch.msgid.link/20260812-qcom-smbx-fixes-v1-2-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