Skip to content

Commit cc3aa31

Browse files
committed
usb: dwc3: apple: Do not use host-vbus-glitches workaround
It results in SErrors during init presumedly because MMIO accesses fail while certain parts are shutdown. Fixes: a6ba1e4 ("usb: dwc3: apply snps,host-vbus-glitches workaround unconditionally") Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 465caa8 commit cc3aa31

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/usb/dwc3/host.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ int dwc3_host_init(struct dwc3 *dwc)
114114
* Some platforms need to power off all Root hub ports immediately after DWC3 set to host
115115
* mode to avoid VBUS glitch happen when xhci get reset later.
116116
*/
117-
dwc3_power_off_all_roothub_ports(dwc);
117+
if (!dwc->role_switch_reset_quirk)
118+
dwc3_power_off_all_roothub_ports(dwc);
118119

119120
irq = dwc3_host_get_irq(dwc);
120121
if (irq < 0)

0 commit comments

Comments
 (0)