Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dddbc6a0 authored by Wim Van Sebroeck's avatar Wim Van Sebroeck
Browse files

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: default avatarWim Van Sebroeck <wim@iguana.be>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarWolfram Sang <w.sang@pengutronix.de>
parent 15b25701
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment