diff options
Diffstat (limited to 'drivers/irqchip/irq-gic.c')
| -rw-r--r-- | drivers/irqchip/irq-gic.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 5089e025..2ed5974c 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c @@ -259,6 +259,11 @@ void gic_show_pending_irq(void) static void gic_show_resume_irq(struct gic_chip_data *gic) { + //chenyb1, 20130619, Add log to show wakeup interrupts begin + #ifdef CONFIG_LENOVO_PM_LOG + extern int save_irq_wakeup_gpio(int irq, int gpio); + #endif //#ifdef CONFIG_LENOVO_PM_LOG + //chenyb1, 20130619, Add log to show wakeup interrupts end unsigned int i; u32 enabled; u32 pending[32]; @@ -290,6 +295,12 @@ static void gic_show_resume_irq(struct gic_chip_data *gic) pr_warning("%s: %d triggered %s\n", __func__, i + gic->irq_offset, name); + + //chenyb1, 20130619, Add log to show wakeup interrupts begin + #ifdef CONFIG_LENOVO_PM_LOG + save_irq_wakeup_gpio(irq, 0); + #endif //#ifdef CONFIG_LENOVO_PM_LOG + //chenyb1, 20130619, Add log to show wakeup interrupts end } } |
