aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorFlorian Klink <[email protected]>2025-05-06 14:26:22 +0000
committerWim Van Sebroeck <[email protected]>2025-06-01 11:16:20 +0000
commit45f1884d5cf2f66736d84bc11d023a7cc82b8838 (patch)
treeb5b10da9a022620ed4e1bfb52e64f3a62bacd0e7 /rust/helpers
parentwatchdog: qcom: introduce the device data for IPQ5424 watchdog device (diff)
downloadkernel-45f1884d5cf2f66736d84bc11d023a7cc82b8838.tar.gz
kernel-45f1884d5cf2f66736d84bc11d023a7cc82b8838.zip
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 <[email protected]> Reviewed-by: Wim Van Sebroeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions