X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=drivers%2Frtc%2Frtc-at91rm9200.c;h=b60fd477778f7fed1e8c1a510d80646f47d8373f;hb=56e0464980febfa50432a070261579415c72664e;hp=cb62e214b52a0066f0a0402c7d89d8b0de74b4fb;hpb=9e17f9070280bd58af9aead415544387a7a61427;p=deliverable%2Flinux.git diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c index cb62e214b52a..b60fd477778f 100644 --- a/drivers/rtc/rtc-at91rm9200.c +++ b/drivers/rtc/rtc-at91rm9200.c @@ -495,6 +495,8 @@ static int at91_rtc_suspend(struct device *dev) /* this IRQ is shared with DBGU and other hardware which isn't * necessarily doing PM like we are... */ + at91_rtc_write(AT91_RTC_SCCR, AT91_RTC_ALARM); + at91_rtc_imr = at91_rtc_read_imr() & (AT91_RTC_ALARM|AT91_RTC_SECEV); if (at91_rtc_imr) {