Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155163
b: refs/heads/master
c: db5d2d8
h: refs/heads/master
i:
  155161: b9208a5
  155159: 34f9d06
v: v3
  • Loading branch information
Jiri Slaby authored and Wim Van Sebroeck committed Jul 9, 2009
1 parent 756798a commit eb0fa0d
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: b86a6c6c7b0bfc26b3e8d4f48e16ee0b13716385
refs/heads/master: db5d2d8a5dfe0ae3e83ac618fd953ecc621adcdf
4 changes: 3 additions & 1 deletion trunk/drivers/watchdog/w83697ug_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,10 @@ static void wdt_ctrl(int timeout)
{
spin_lock(&io_lock);

if (w83697ug_select_wd_register() < 0)
if (w83697ug_select_wd_register() < 0) {
spin_unlock(&io_lock);
return;
}

outb_p(0xF4, WDT_EFER); /* Select CRF4 */
outb_p(timeout, WDT_EFDR); /* Write Timeout counter to CRF4 */
Expand Down

0 comments on commit eb0fa0d

Please sign in to comment.