[PATCH 0/4] Fix DWC2 USB role switch support

From: Amelie Delaunay
Date: Fri Jul 24 2020 - 08:38:16 EST


This patchset adds missing documentation for usb-role-switch support in DWC2
bindings. It also fixes build issue when config is DWC2_HOST only,
sleeping while atomic issue and missing usb-role-switch unregistration in probe
error path.

Amelie Delaunay (4):
dt-bindings: usb: dwc2: add optional usb-role-switch property
usb: dwc2: fix build issue when config is USB_DWC2_HOST only
usb: dwc2: drd: fix sleeping while spinlock atomic context
usb: dwc2: fix error path with missing dwc2_drd_exit

.../devicetree/bindings/usb/dwc2.yaml | 4 +++
drivers/usb/dwc2/core.h | 1 +
drivers/usb/dwc2/drd.c | 30 +++++++------------
drivers/usb/dwc2/platform.c | 2 ++
4 files changed, 17 insertions(+), 20 deletions(-)

--
2.17.1