aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-cmos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
index f7a4701bf863..876e3fcffca4 100644
--- a/drivers/rtc/rtc-cmos.c
+++ b/drivers/rtc/rtc-cmos.c
@@ -871,8 +871,9 @@ static int cmos_suspend(struct device *dev, pm_message_t mesg)
871 mask = RTC_IRQMASK; 871 mask = RTC_IRQMASK;
872 tmp &= ~mask; 872 tmp &= ~mask;
873 CMOS_WRITE(tmp, RTC_CONTROL); 873 CMOS_WRITE(tmp, RTC_CONTROL);
874 hpet_mask_rtc_irq_bit(mask);
875 874
875 /* shut down hpet emulation - we don't need it for alarm */
876 hpet_mask_rtc_irq_bit(RTC_PIE|RTC_AIE|RTC_UIE);
876 cmos_checkintr(cmos, tmp); 877 cmos_checkintr(cmos, tmp);
877 } 878 }
878 spin_unlock_irq(&rtc_lock); 879 spin_unlock_irq(&rtc_lock);