diff options
| author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2021-05-19 14:39:44 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-21 14:09:54 +0200 |
| commit | 880287910b1892ed2cb38977893b947382a09d21 (patch) | |
| tree | 3a58ddb30cd85befe6da1e9474d990d5d2038d3b /scripts/gdb/linux/utils.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 <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1621406386-18838-1-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
