|
@@ -482,8 +482,9 @@ static int __devexit twl4030_rtc_remove(struct platform_device *pdev)
|
|
|
|
|
|
static void twl4030_rtc_shutdown(struct platform_device *pdev)
|
|
|
{
|
|
|
- mask_rtc_irq_bit(BIT_RTC_INTERRUPTS_REG_IT_TIMER_M |
|
|
|
- BIT_RTC_INTERRUPTS_REG_IT_ALARM_M);
|
|
|
+ /* mask timer interrupts, but leave alarm interrupts on to enable
|
|
|
+ power-on when alarm is triggered */
|
|
|
+ mask_rtc_irq_bit(BIT_RTC_INTERRUPTS_REG_IT_TIMER_M);
|
|
|
}
|
|
|
|
|
|
#ifdef CONFIG_PM
|