diff options
| author | Vincent Cloutier <vincent@cloutier.co> | 2026-07-26 21:13:03 -0400 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-07-27 20:32:38 +0200 |
| commit | 98d02b5128833c3d812e62a2616f33f1524c8394 (patch) | |
| tree | 2b50307dd0866985da4b62de896b7bf093e100c0 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 01da1f4a6373f8d6a5a2d5d5adc256431087ccc4 (diff) | |
power: supply: max17042_battery: Propagate status register errors
The driver ignores errors from the initial STATUS read and final POR clear.
A failed read can leave the POR decision based on an invalid value, while a
failed clear can report initialization complete with POR still set.
Check the probe-time read and return the POR-clear result from
max17042_init_chip(). Keep this error handling separate from the retry
policy added later.
Assisted-by: OpenCode:gpt-5.6-sol
Signed-off-by: Vincent Cloutier <vincent@cloutier.co>
Link: https://patch.msgid.link/20260727011319.621794-6-vincent.cloutier@icloud.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
