diff options
Diffstat (limited to 'drivers/char/watchdog/ibmasr.c')
-rw-r--r-- | drivers/char/watchdog/ibmasr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/char/watchdog/ibmasr.c b/drivers/char/watchdog/ibmasr.c index a32c073d29bc..4f90015be7dd 100644 --- 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, | |||
267 | asr_toggle(); | 267 | asr_toggle(); |
268 | return 0; | 268 | return 0; |
269 | 269 | ||
270 | 270 | /* | |
271 | * The hardware has a fixed timeout value, so WDIOC_SETTIMEOUT | ||
272 | * is a noop and WDIOC_GETTIMEOUT always returns 256. | ||
273 | */ | ||
271 | case WDIOC_SETTIMEOUT: | 274 | case WDIOC_SETTIMEOUT: |
272 | if (get_user(heartbeat, p)) | 275 | if (get_user(heartbeat, p)) |
273 | return -EFAULT; | 276 | return -EFAULT; |