diff options
author | Wesley Cheng <[email protected]> | 2020-12-29 15:00:37 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-01-04 16:53:04 +0100 |
commit | a1383b3537a7bea1c213baa7878ccc4ecf4413b5 (patch) | |
tree | 11f4246372a00cb4fa0d87ff87def5f3986ce8ac /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 718bf42b119de652ebcc93655a1f33a9c0d04b3c (diff) |
usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup
usb_gadget_deactivate/usb_gadget_activate does not execute the UDC start
operation, which may leave EP0 disabled and event IRQs disabled when
re-activating the function. Move the enabling/disabling of USB EP0 and
device event IRQs to be performed in the pullup routine.
Fixes: ae7e86108b12 ("usb: dwc3: Stop active transfers before halting the controller")
Tested-by: Michael Tretter <[email protected]>
Cc: stable <[email protected]>
Reported-by: Michael Tretter <[email protected]>
Signed-off-by: Wesley Cheng <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions