drivers: usb: fsl: Workaround for USB erratum-A005275
[deliverable/linux.git] / drivers / usb / host / ehci-fsl.c
index 202dafb7d0cb78897ad2404a50706475d30193d1..3b6eb219de1a714d31fc843718472efc6ab615f4 100644 (file)
@@ -278,6 +278,10 @@ static int ehci_fsl_usb_setup(struct ehci_hcd *ehci)
                out_be32(non_ehci + FSL_SOC_USB_SNOOP2, 0x80000000 | SNOOP_SIZE_2GB);
        }
 
+       /* Deal with USB erratum A-005275 */
+       if (pdata->has_fsl_erratum_a005275 == 1)
+               ehci->has_fsl_hs_errata = 1;
+
        if ((pdata->operating_mode == FSL_USB2_DR_HOST) ||
                        (pdata->operating_mode == FSL_USB2_DR_OTG))
                if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 0))
This page took 0.026067 seconds and 5 git commands to generate.