projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d532134
)
[WATCHDOG] driver-for-ibm-automatic-server-restart-watchdog-fix
author
Andrew Morton
<akpm@osdl.org>
Fri, 19 Aug 2005 21:21:01 +0000
(23:21 +0200)
committer
Wim Van Sebroeck
<wim@iguana.be>
Sun, 11 Sep 2005 20:09:54 +0000
(22:09 +0200)
Add fixed timeout comments
Cc: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/char/watchdog/ibmasr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/watchdog/ibmasr.c
b/drivers/char/watchdog/ibmasr.c
index a32c073d29bc28658384e1facd5f0f47138a33ae..4f90015be7dd78ddeb7dad70f1ab1d1a8f873d6f 100644
(file)
--- a/
drivers/char/watchdog/ibmasr.c
+++ b/
drivers/char/watchdog/ibmasr.c
@@
-267,7
+267,10
@@
static int asr_ioctl(struct inode *inode, struct file *file,
asr_toggle();
return 0;
-
+ /*
+ * The hardware has a fixed timeout value, so WDIOC_SETTIMEOUT
+ * is a noop and WDIOC_GETTIMEOUT always returns 256.
+ */
case WDIOC_SETTIMEOUT:
if (get_user(heartbeat, p))
return -EFAULT;