|
@@ -495,6 +495,8 @@ static int at91_rtc_suspend(struct device *dev)
|
|
/* this IRQ is shared with DBGU and other hardware which isn't
|
|
/* this IRQ is shared with DBGU and other hardware which isn't
|
|
* necessarily doing PM like we are...
|
|
* necessarily doing PM like we are...
|
|
*/
|
|
*/
|
|
|
|
+ at91_rtc_write(AT91_RTC_SCCR, AT91_RTC_ALARM);
|
|
|
|
+
|
|
at91_rtc_imr = at91_rtc_read_imr()
|
|
at91_rtc_imr = at91_rtc_read_imr()
|
|
& (AT91_RTC_ALARM|AT91_RTC_SECEV);
|
|
& (AT91_RTC_ALARM|AT91_RTC_SECEV);
|
|
if (at91_rtc_imr) {
|
|
if (at91_rtc_imr) {
|