]> 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)
commit06795a3bab438a907fcc55b4148c98790a3f3992
tree7954a552341a37163d0ebe2c975bfe002e2abbd3
parent11e69920a6e5dc4144313f8b7bf061d4141cd600
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