Skip to content

Fix DWC2 USB role switch support

Amelie Delaunay linux-arm-kernel linux-devicetree linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: usb: dwc2: add optional usb-role-switch propertyDocumentation/devicetree/bindings/usb/dwc2.yaml+4 -00 replies
2/4usb: dwc2: fix build issue when config is USB_DWC2_HOST onlydrivers/usb/dwc2/core.h drivers/usb/dwc2/drd.c+4 -00 replies
3/4usb: dwc2: drd: fix sleeping while spinlock atomic contextdrivers/usb/dwc2/drd.c+7 -200 replies
4/4usb: dwc2: fix error path with missing dwc2_drd_exitdrivers/usb/dwc2/platform.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.17.1