Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd7b8007 authored by Andrew Morton's avatar Andrew Morton Committed by Wim Van Sebroeck
Browse files

[WATCHDOG] driver-for-ibm-automatic-server-restart-watchdog-fix



Add fixed timeout comments

Cc: Andrey Panin <pazke@donpac.ru>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent d532134d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;