]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: ep93xx_wdt: Fix timeout after conversion to watchdog core
authorMika Westerberg <mika.westerberg@iki.fi>
Sun, 18 Mar 2012 11:09:52 +0000 (13:09 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 27 Mar 2012 18:15:17 +0000 (20:15 +0200)
commit6a2aa37aab852d3bd9618db4a0919e7652c8ccb7
treeb15315a65f857cfcfe01543c68e834e65707d322
parent85ef5487806da1ad15b498cba1b72ad273479960
watchdog: ep93xx_wdt: Fix timeout after conversion to watchdog core

After the conversion of this driver to the watchdog core, I noticed that we
miss setting the initial timeout of the wdt device.
This results in a failure of the WDIOC_GETTIMEOUT ioctl call.

Reviewed-by: Mika Westerberg <mika.westerberg@iki.fi>
Tested-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ep93xx_wdt.c