Commit 2e0432f8 authored by Romain Izard's avatar Romain Izard Committed by Wim Van Sebroeck
Browse files

watchdog: sama5d4: fix timeout-sec usage

When using watchdog_init_timeout to update the default timeout value,
an error means that there is no "timeout-sec" in the relevant device
tree node.

This should not prevent binding of the driver to the device.

Fixes: 976932e4

 ("watchdog: sama5d4: make use of timeout-secs provided in devicetree")
Signed-off-by: default avatarRomain Izard <romain.izard.pro@gmail.com>
Reviewed-by: default avatarMarcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent d08ec7be
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment