Skip to content

Commit 6d1a245

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 82b5992 commit 6d1a245

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
@@ -135,7 +135,8 @@ int dwc3_host_init(struct dwc3 *dwc)
135135
* Some platforms need to power off all Root hub ports immediately after DWC3 set to host
136136
* mode to avoid VBUS glitch happen when xhci get reset later.
137137
*/
138-
dwc3_power_off_all_roothub_ports(dwc);
138+
if (!dwc->role_switch_reset_quirk)
139+
dwc3_power_off_all_roothub_ports(dwc);
139140

140141
irq = dwc3_host_get_irq(dwc);
141142
if (irq < 0)

0 commit comments

Comments
 (0)