]> err.no Git - linux-2.6/blobdiff - arch/arm/mach-pxa/pxa25x.c
[ARM] 5065/2: CM-X270: Fix DM9000 IRQ flags initialisation
[linux-2.6] / arch / arm / mach-pxa / pxa25x.c
index 3642f81f8f0eaa2fa900d1a9c32124ff1309789b..e5b417d14bb04b772689b431631994c7985899d5 100644 (file)
@@ -198,6 +198,9 @@ static void pxa25x_cpu_pm_restore(unsigned long *sleep_save)
 
 static void pxa25x_cpu_pm_enter(suspend_state_t state)
 {
+       /* Clear reset status */
+       RCSR = RCSR_HWR | RCSR_WDR | RCSR_SMR | RCSR_GPR;
+
        switch (state) {
        case PM_SUSPEND_MEM:
                /* set resume return address */