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)
commit59dcf1eb1a4b15610c68a4dbb7430d61a65f4af3
treeb15315a65f857cfcfe01543c68e834e65707d322
parente12a679ddee4eb5ab2f99f7cf129355461e142c0
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