summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2021-01-24 09:24:21 -0600
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-01-25 00:25:26 +0100
commitb5e8642ed95ff6ecc20cc6038fe831affa9d098c (patch)
treef5537ae285a22677e1ab8c466f6e7dd6b2160b29 /tools/perf/scripts/python/exported-sql-viewer.py
parenta4bdea2004b28f47ab48ea99172eda8628f6fb44 (diff)
power: supply: axp20x_usb_power: Init work before enabling IRQs
The IRQ handler calls mod_delayed_work() on power->vbus_detect. However, that work item is not initialized until after the IRQs are enabled. If an IRQ is already pending when the driver is probed, the driver calls mod_delayed_work() on an uninitialized work item, which causes an oops. Fixes: bcfb7ae3f50b ("power: supply: axp20x_usb_power: Only poll while offline") Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions