diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2015-04-03 10:05:20 -0700 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-06-22 15:54:12 +0200 |
commit | 7094e1dd2ba98f1eb534c262deebbc65e34fe132 (patch) | |
tree | 676f6c41e114e7ce940ade74b76a1187100f4809 /virt/kvm | |
parent | 530c11d432727c697629ad5f9d00ee8e2864d453 (diff) | |
download | linux-7094e1dd2ba98f1eb534c262deebbc65e34fe132.tar.bz2 |
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 <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>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions