]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: WatchDog Timer Driver Core - Add minimum and max timeout
authorWim Van Sebroeck <wim@iguana.be>
Fri, 22 Jul 2011 19:00:16 +0000 (19:00 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 28 Jul 2011 08:01:18 +0000 (08:01 +0000)
commit0627deaff77c8731d46feced63784d75119e44ac
tree7954a552341a37163d0ebe2c975bfe002e2abbd3
parent06ea32a16322be2d06ef4803ab1588dbcf1f5936
watchdog: WatchDog Timer Driver Core - Add minimum and max timeout

Add min_timeout (minimum timeout) and max_timeout
values so that the framework can check if the new
timeout value is between the minimum and maximum
timeout values. If both values are 0, then the
framework will leave the check for the watchdog
device driver itself.

Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Documentation/watchdog/watchdog-kernel-api.txt
drivers/watchdog/watchdog_core.c
drivers/watchdog/watchdog_dev.c
include/linux/watchdog.h