commit | dddbc6a0513b25c80e73e14ee704186deedc0d00 | [log] [tgz] |
---|---|---|
author | Wim Van Sebroeck <wim@iguana.be> | Thu Mar 22 20:42:16 2012 +0100 |
committer | Wim Van Sebroeck <wim@iguana.be> | Tue Mar 27 20:15:57 2012 +0200 |
tree | 369ee13682bb2fafc13ba10347943e3ab74464f9 | |
parent | 15b25701b282bd761a82c6508529b2145744075f [diff] |
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>