From: Andrew Bresticker Date: Fri, 3 Apr 2015 17:05:20 +0000 (-0700) Subject: watchdog: imgpdc: Allow timeout to be set in device-tree X-Git-Tag: omap-for-v4.3/legacy-v2-signed~78^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7094e1dd2ba98f1eb534c262deebbc65e34fe132;p=pandora-kernel.git watchdog: imgpdc: Allow timeout to be set in device-tree Since the heartbeat is statically initialized to its default value, watchdog_init_timeout() will never look in the device-tree for a timeout-sec value. Instead of statically initializing heartbeat, fall back to the default timeout value if watchdog_init_timeout() fails. Signed-off-by: Andrew Bresticker Reviewed-by: Ezequiel Garcia Tested-by: Ezequiel Garcia Cc: James Hogan Reviewed-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed