aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndrew Bresticker <[email protected]>2015-04-03 10:05:20 -0700
committerWim Van Sebroeck <[email protected]>2015-06-22 15:54:12 +0200
commit7094e1dd2ba98f1eb534c262deebbc65e34fe132 (patch)
tree676f6c41e114e7ce940ade74b76a1187100f4809 /lib/memory-notifier-error-inject.c
parent530c11d432727c697629ad5f9d00ee8e2864d453 (diff)
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 <[email protected]> Reviewed-by: Ezequiel Garcia <[email protected]> Tested-by: Ezequiel Garcia <[email protected]> Cc: James Hogan <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions