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

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

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: default avatarWim Van Sebroeck <wim@iguana.be>
Acked-by: default avatarWolfram Sang <w.sang@pengutronix.de>
parent d6245842
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