DWC3 just learned to use the DRD role-switch API. If the driver is configured to use it, then delegate its default mode selection to the drd role-switch code-path. Also, make sure not to free non-existing OTG irq. Thinh Nguyen (2): usb: dwc3: drd: Don't free non-existing irq usb: dwc3: core: Use role-switch default dr_mode drivers/usb/dwc3/core.c | 2 ++ drivers/usb/dwc3/drd.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) -- 2.11.0