Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261097
b: refs/heads/master
c: 081d83a
h: refs/heads/master
i:
  261095: 800bc01
v: v3
  • Loading branch information
Nick Bowler authored and Wim Van Sebroeck committed Jul 26, 2011
1 parent f8071da commit 96e8afc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da3e515024ba32aaf0d524518ce39a8fb77332cd
refs/heads/master: 081d83a3393f65adc94fc4240b9926be3054f9dc
4 changes: 4 additions & 0 deletions trunk/drivers/watchdog/sp805_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ static void wdt_enable(void)
writel(INT_ENABLE | RESET_ENABLE, wdt->base + WDTCONTROL);
writel(LOCK, wdt->base + WDTLOCK);

/* Flush posted writes. */
readl(wdt->base + WDTLOCK);
spin_unlock(&wdt->lock);
}

Expand All @@ -146,6 +148,8 @@ static void wdt_disable(void)
writel(0, wdt->base + WDTCONTROL);
writel(LOCK, wdt->base + WDTLOCK);

/* Flush posted writes. */
readl(wdt->base + WDTLOCK);
spin_unlock(&wdt->lock);
}

Expand Down

0 comments on commit 96e8afc

Please sign in to comment.