diff options
author | 2024-11-07 21:38:28 +0100 | |
---|---|---|
committer | 2024-11-17 11:24:22 +0100 | |
commit | 4962ee045d8f06638714d801ab0fb72f89c16690 (patch) | |
tree | 342b6ea77cc62c7efb4371b6eec8b520e0321722 /scripts/gdb/linux/utils.py | |
parent | watchdog: s3c2410_wdt: add support for exynosautov920 SoC (diff) | |
download | wireguard-linux-4962ee045d8f06638714d801ab0fb72f89c16690.tar.xz wireguard-linux-4962ee045d8f06638714d801ab0fb72f89c16690.zip |
watchdog: rti: of: honor timeout-sec property
Currently "timeout-sec" Device Tree property is being silently ignored:
even though watchdog_init_timeout() is being used, the driver always passes
"heartbeat" == DEFAULT_HEARTBEAT == 60 as argument.
Fix this by setting struct watchdog_device::timeout to DEFAULT_HEARTBEAT
and passing real module parameter value to watchdog_init_timeout() (which
may now be 0 if not specified).
Cc: stable@vger.kernel.org
Fixes: 2d63908bdbfb ("watchdog: Add K3 RTI watchdog support")
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20241107203830.1068456-1-alexander.sverdlin@siemens.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions