diff options
| author | Hongyan Xu <getshell@seu.edu.cn> | 2026-07-28 20:33:39 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2026-07-31 00:00:44 +0200 |
| commit | 60c5b8a9ef4dbc5d69bbc1a960fe55826cb3b643 (patch) | |
| tree | e589dba5feef3854d27f51eca4542c51c5ce6857 /tools/perf/scripts/python | |
| parent | 84b3a9353e3f32ebd0dc5bf1ab378742bd7cb682 (diff) | |
power: supply: isp1704_charger: cancel work on remove
The USB notifier and initial VBUS detection can schedule isp->work. The
remove path unregisters the notifier and power supply, but does not wait
for queued or running work before tearing down the power supply state.
Cancel the work after unregistering the notifier. Do this before
unregistering the power supply.
This issue was found by a static analysis tool.
Signed-off-by: Hongyan Xu <getshell@seu.edu.cn>
Link: https://patch.msgid.link/20260728123423.781-5-getshell@seu.edu.cn
Fixes: ec46475f3e31 ("power_supply: Add isp1704 charger detection driver")
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
