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

Amelie Delaunay amelie.delaunay at st.com
Fri Jul 24 08:37:44 EDT 2020


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




More information about the linux-arm-kernel mailing list