Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288110
b: refs/heads/master
c: 741b9c7
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Artamonow authored and Wim Van Sebroeck committed Feb 29, 2012
1 parent 0912c6b commit 7b8e9ce
Show file tree
Hide file tree
Showing 2 changed files with 6 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: f599aaf00f6b5b35ea6af9e428eab8f894752efd
refs/heads/master: 741b9c7da1abf2f96f69d232fbeef5aff1371be3
6 changes: 5 additions & 1 deletion trunk/drivers/watchdog/booke_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,13 @@ static long booke_wdt_ioctl(struct file *file,
booke_wdt_period = tmp;
#endif
booke_wdt_set();
return 0;
/* Fall */
case WDIOC_GETTIMEOUT:
#ifdef CONFIG_FSL_BOOKE
return put_user(period_to_sec(booke_wdt_period), p);
#else
return put_user(booke_wdt_period, p);
#endif
default:
return -ENOTTY;
}
Expand Down

0 comments on commit 7b8e9ce

Please sign in to comment.