RK3288: dump the wakeup-interrupt
author许盛飞 <xsf@rock-chips.com>
Tue, 1 Apr 2014 03:42:16 +0000 (11:42 +0800)
committer许盛飞 <xsf@rock-chips.com>
Tue, 1 Apr 2014 03:42:16 +0000 (11:42 +0800)
arch/arm/mach-rockchip/pm-rk3288.c

index 3d911f022ca2f2ae079b5f98375df50ddef28ee3..be13d8a6795f6557591b616d266c56bd40af36a2 100755 (executable)
@@ -1936,7 +1936,7 @@ do { \
 } while (0)
 static noinline void rk30_pm_dump_irq(void)
 {
-       u32 irq_gpio = (readl_relaxed(RK_GIC_VIRT + GIC_DIST_PENDING_SET + 8) >> 22) & 0x7F;
+       u32 irq_gpio = (readl_relaxed(RK_GIC_VIRT + GIC_DIST_PENDING_SET + 12) >> 17) & 0x1FF;
        printk("wakeup irq: %08x %08x %08x %08x\n",
                readl_relaxed(RK_GIC_VIRT + GIC_DIST_PENDING_SET + 4),
                readl_relaxed(RK_GIC_VIRT + GIC_DIST_PENDING_SET + 8),