summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHongyan Xu <getshell@seu.edu.cn>2026-07-29 18:46:59 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-07-31 00:02:06 +0200
commitdfc859bb8d332c525872f1a44028137724fa1998 (patch)
tree6cd25422e0119bca8bdc5eebae3ab3027eee454c /tools/perf/scripts/python/stackcollapse.py
parent60c5b8a9ef4dbc5d69bbc1a960fe55826cb3b643 (diff)
power: supply: sc2731_charger: cancel work on remove
The USB notifier and initial charger detection can schedule info->work. The remove path unregisters the notifier, but does not cancel queued or running work before the devm-allocated driver data is released. Set the platform drvdata used by remove, then cancel the work after unregistering the notifier. This issue was found by a static analysis tool. Fixes: 8ac1091ed18b ("power: supply: sc2731_charger: Add one work to charge/discharge") Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: Hongyan Xu <getshell@seu.edu.cn> Link: https://patch.msgid.link/5d48b827687168cb1b1bfe85f17945566b42829d.1785321763.git.getshell@seu.edu.cn Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions