diff options
author | Florian Klink <flokli@flokli.de> | 2025-05-06 17:26:22 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2025-06-01 13:16:20 +0200 |
commit | 45f1884d5cf2f66736d84bc11d023a7cc82b8838 (patch) | |
tree | b5b10da9a022620ed4e1bfb52e64f3a62bacd0e7 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 1aea3e1ec0e7611804c9124097eecf050bf5fdcd (diff) |
watchdog: apple: set max_hw_heartbeat_ms instead of max_timeout
The hardware only supports timeouts slightly below 3mins, but by using
max_hw_heartbeat_ms we can let the kernel take care of supporting larger
timeouts than that requested from userspace.
Switching to max_hw_heartbeat_ms also means our set_timeout function now
needs to configure the hardware to the minimum of either the requested
timeout (in seconds) or the maximum supported by the user (in seconds).
Signed-off-by: Florian Klink <flokli@flokli.de>
Reviewed-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Link: https://lore.kernel.org/r/20250506142621.11428-2-flokli@flokli.de
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