watchdog: imgpdc: Set timeout before starting watchdog
authorAndrew Bresticker <abrestic@chromium.org>
Fri, 3 Apr 2015 17:05:21 +0000 (10:05 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 22 Jun 2015 13:54:13 +0000 (15:54 +0200)
commit8aa453a533faf383fe711aa8dedcf421563ddf66
tree288bfe8c63ea47880cd87501d6b6be605e944447
parent7094e1dd2ba98f1eb534c262deebbc65e34fe132
watchdog: imgpdc: Set timeout before starting watchdog

Set up the watchdog for the specified timeout before attempting to start it.

Signed-off-by: Naidu Tellapati <naidu.tellapati@imgtec.com>
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/imgpdc_wdt.c