From: Wim Van Sebroeck Date: Thu, 22 Mar 2012 19:42:16 +0000 (+0100) Subject: watchdog: coh901327_wdt.c: fix timeout X-Git-Tag: v3.4-rc1~67^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dddbc6a0513b25c80e73e14ee704186deedc0d00;p=pandora-kernel.git 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 Acked-by: Linus Walleij Acked-by: Wolfram Sang --- Reading git-diff-tree failed