diff options
| author | Florian Klink <[email protected]> | 2025-05-06 14:26:22 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2025-06-01 11:16:20 +0000 |
| commit | 45f1884d5cf2f66736d84bc11d023a7cc82b8838 (patch) | |
| tree | b5b10da9a022620ed4e1bfb52e64f3a62bacd0e7 /scripts/gcc-plugins | |
| parent | watchdog: qcom: introduce the device data for IPQ5424 watchdog device (diff) | |
| download | kernel-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 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
