diff options
author | Alexandru M Stan <[email protected]> | 2019-10-23 14:06:31 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-01-15 10:39:20 +0100 |
commit | 7b8137676457d99181fb2952f0b996b8569e6420 (patch) | |
tree | ae331e607caf94c851071cc352516b53bd083fc1 /tools/perf/scripts/python/syscall-counts.py | |
parent | 6070636c4918c3c06e54edecdb323c8b57116768 (diff) |
usb: dwc2: Fix NULL qh in dwc2_queue_transaction
When a usb device disconnects in a certain way, dwc2_queue_transaction
still gets called after dwc2_hcd_cleanup_channels.
dwc2_hcd_cleanup_channels does "channel->qh = NULL;" but
dwc2_queue_transaction still wants to dereference qh.
This adds a check for a null qh.
Acked-by: Minas Harutyunyan <[email protected]>
Signed-off-by: Alexandru M Stan <[email protected]>
[dianders: rebased to mainline]
Signed-off-by: Douglas Anderson <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions