Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114894
b: refs/heads/master
c: d05abab
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Oct 16, 2008
1 parent 6b0e058 commit abb50f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 4cea5ceb4c692ff42a2848f1b559977caff3c64e
refs/heads/master: d05abab9a47d3245664eee413769af2e1e4b1faf
4 changes: 1 addition & 3 deletions trunk/drivers/char/ds1286.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,6 @@ static void ds1286_get_time(struct rtc_time *rtc_tm)
{
unsigned char save_control;
unsigned long flags;
unsigned long uip_watchdog = jiffies;

/*
* read RTC once any update in progress is done. The update
Expand All @@ -456,8 +455,7 @@ static void ds1286_get_time(struct rtc_time *rtc_tm)
*/

if (ds1286_is_updating() != 0)
while (time_before(jiffies, uip_watchdog + 2*HZ/100))
barrier();
msleep(20);

/*
* Only the values that we read from the RTC are set. We leave
Expand Down

0 comments on commit abb50f7

Please sign in to comment.