]> err.no Git - linux-2.6/blobdiff - arch/arm/mach-at91/pm.c
Merge branch 'pxa-plat' into devel
[linux-2.6] / arch / arm / mach-at91 / pm.c
index 98cb61482917a921d5ddaec2bc13925999097a0b..4b120cc361359760a542eaea0825365bba5e6b33 100644 (file)
@@ -80,6 +80,11 @@ static int at91_pm_verify_clocks(void)
                        pr_debug("AT91: PM - Suspend-to-RAM with USB still active\n");
                        return 0;
                }
+       } else if (cpu_is_at91cap9()) {
+               if ((scsr & AT91CAP9_PMC_UHP) != 0) {
+                       pr_debug("AT91: PM - Suspend-to-RAM with USB still active\n");
+                       return 0;
+               }
        }
 
 #ifdef CONFIG_AT91_PROGRAMMABLE_CLOCKS