summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/mixcomwd.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2012-03-23 11:48:22 +0100
committerWim Van Sebroeck <wim@iguana.be>2012-03-27 20:16:13 +0200
commitb92c803ec61de59e6e4ab9b2748d8e633cec3f08 (patch)
tree58af22b2fe89531cef7797a86c3de2bba7369b46 /drivers/watchdog/mixcomwd.c
parentwatchdog: Convert txx9wdt driver to watchdog framework (diff)
downloadlinux-b92c803ec61de59e6e4ab9b2748d8e633cec3f08.tar.xz
linux-b92c803ec61de59e6e4ab9b2748d8e633cec3f08.zip
watchdog: txx9wdt: fix timeout
timeout should be an unsigned int. Set the timeout value properly in the watchdog_device struct so that we don't get an faulty values for the WDIOC_GETTIMEOUT ioctl call. Add check to see that timeout is a valid parameter after it is loaded as a module. Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/watchdog/mixcomwd.c')
0 files changed, 0 insertions, 0 deletions