Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376963
b: refs/heads/master
c: ebf8d6c
h: refs/heads/master
i:
  376961: 82f5210
  376959: 3f0d9f7
v: v3
  • Loading branch information
Derek Basehore authored and Linus Torvalds committed Jun 12, 2013
1 parent 7c3e123 commit 26f1513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a280844bb3bcd79076cac6ad002f71d25c798e5
refs/heads/master: ebf8d6c8630bfd3e24683306599cb953c9a2842c
4 changes: 3 additions & 1 deletion trunk/drivers/rtc/rtc-cmos.c
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,9 @@ static int cmos_resume(struct device *dev)
}

spin_lock_irq(&rtc_lock);
if (device_may_wakeup(dev))
hpet_rtc_timer_init();

do {
CMOS_WRITE(tmp, RTC_CONTROL);
hpet_set_rtc_irq_bit(tmp & RTC_IRQMASK);
Expand All @@ -869,7 +872,6 @@ static int cmos_resume(struct device *dev)
rtc_update_irq(cmos->rtc, 1, mask);
tmp &= ~RTC_AIE;
hpet_mask_rtc_irq_bit(RTC_AIE);
hpet_rtc_timer_init();
} while (mask & RTC_AIE);
spin_unlock_irq(&rtc_lock);
}
Expand Down

0 comments on commit 26f1513

Please sign in to comment.