diff options
author | Chunfeng Yun <[email protected]> | 2021-05-19 14:39:44 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-21 14:09:54 +0200 |
commit | 880287910b1892ed2cb38977893b947382a09d21 (patch) | |
tree | 3a58ddb30cd85befe6da1e9474d990d5d2038d3b /tools/perf/scripts/python/intel-pt-events.py | |
parent | c63fef4c4302f5d41945f5362ff0cf556cb6db19 (diff) |
usb: common: usb-conn-gpio: fix NULL pointer dereference of charger
When power on system with OTG cable, IDDIG's interrupt arises before
the charger registration, it will cause a NULL pointer dereference,
fix the issue by registering the power supply before requesting
IDDIG/VBUS irq.
Signed-off-by: Chunfeng Yun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions