diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2012-03-22 23:42:16 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-03-27 22:15:57 +0400 |
commit | dddbc6a0513b25c80e73e14ee704186deedc0d00 (patch) | |
tree | 369ee13682bb2fafc13ba10347943e3ab74464f9 /drivers/watchdog/Kconfig | |
parent | 15b25701b282bd761a82c6508529b2145744075f (diff) | |
download | linux-dddbc6a0513b25c80e73e14ee704186deedc0d00.tar.xz |
watchdog: coh901327_wdt.c: fix timeout
Set the timeout value properly so that we don't get faulty values
for the WDIOC_GETTIMEOUT iotcl. 'margin' should be an unsigned int.
Also add a check to see if margin is a valid parameter after it is
loaded as a module.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/watchdog/Kconfig')
0 files changed, 0 insertions, 0 deletions