summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSicelo A. Mhlongo <absicsz@gmail.com>2024-11-25 18:29:30 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2025-02-20 03:44:45 +0300
commit45291874a762dbb12a619dc2efaf84598859007a (patch)
tree63a31429460ec13c5f476bfb2a0220b9bc2b676e /tools/perf/scripts/python/task-analyzer.py
parenta944cfd799e859753ad249372fa5d6d6d9300515 (diff)
downloadlinux-45291874a762dbb12a619dc2efaf84598859007a.tar.xz
power: supply: bq27xxx_battery: do not update cached flags prematurely
Commit 243f8ffc883a1 ("power: supply: bq27xxx_battery: Notify also about status changes") intended to notify userspace when the status changes, based on the flags register. However, the cached state is updated too early, before the flags are tested for any changes. Remove the premature update. Fixes: 243f8ffc883a1 ("power: supply: bq27xxx_battery: Notify also about status changes") Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com> Link: https://lore.kernel.org/r/20241125152945.47937-1-absicsz@gmail.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions