diff options
author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2025-03-26 09:29:49 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2025-05-24 16:57:51 +0200 |
commit | ec90349a9433937e2fd83a57e16f40bce1fc1481 (patch) | |
tree | 0fad8f85f7fa47e35778465daed0997f846a0fb6 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 776d14d201ae8b266208e0eae6510692bc58d9f2 (diff) |
watchdog: da9052_wdt: use timeout value from external inputs
Introduce the `timeout` module parameter and pass it to
watchdog_init_timeout(). If the parameter is not set or contains an
invalid value, fallback on the `timeout-secs` devicetree property value.
If none of the above is valid, go for the old default value.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20250326-da9052-fixes-v3-2-a38a560fef0e@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions