From: Felipe Balbi <[email protected]>

Errata ID i445 says we SOFTRESET doesn't work properly
on omap3630, so let's avoid issuing that here.

Signed-off-by: Felipe Balbi <[email protected]>
---
 arch/arm/mach-omap2/usb-musb.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index de3e768..97dae0d 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -54,6 +54,10 @@ void __init usb_musb_pm_init(void)
        if (!cpu_is_omap34xx())
                return;
 
+       /* Errata ID i445 fix : Do not use SOFTRESET with OMAP3630 */
+       if (cpu_is_omap3630())
+               return;
+
        otg_base = ioremap(OMAP34XX_HSUSB_OTG_BASE, SZ_4K);
        if (WARN_ON(!otg_base))
                return;
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to