|
|
@@ -238,10 +238,15 @@ int xhci_rcar_init_quirk(struct usb_hcd *hcd)
|
|
|
* pointers. So, this driver clears the AC64 bit of xhci->hcc_params
|
|
|
* to call dma_set_coherent_mask(dev, DMA_BIT_MASK(32)) in
|
|
|
* xhci_gen_setup().
|
|
|
+ *
|
|
|
+ * And, since the firmware/internal CPU control the USBSTS.STS_HALT
|
|
|
+ * and the process speed is down when the roothub port enters U3,
|
|
|
+ * long delay for the handshake of STS_HALT is neeed in xhci_suspend().
|
|
|
*/
|
|
|
if (xhci_rcar_is_gen2(hcd->self.controller) ||
|
|
|
- xhci_rcar_is_gen3(hcd->self.controller))
|
|
|
- xhci->quirks |= XHCI_NO_64BIT_SUPPORT;
|
|
|
+ xhci_rcar_is_gen3(hcd->self.controller)) {
|
|
|
+ xhci->quirks |= XHCI_NO_64BIT_SUPPORT | XHCI_SLOW_SUSPEND;
|
|
|
+ }
|
|
|
|
|
|
if (!xhci_rcar_wait_for_pll_active(hcd))
|
|
|
return -ETIMEDOUT;
|