diff options
author | Liu Xinpeng <[email protected]> | 2022-04-26 22:53:28 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-05-21 10:09:29 +0200 |
commit | 6d72c7ac9fbe26a77800676507da980436b40b2f (patch) | |
tree | dc6a292da82e94f67e27ce27a58d15ad787aad2b /tools/perf/scripts/python | |
parent | 382256b219fbc901a69481e5b60812556f53152e (diff) |
watchdog: wdat_wdt: Using the existing function to check parameter timeout
If max_hw_heartbeat_ms is provided, the configured maximum timeout is not
limited by it. The limit check in this driver therefore doesn't make much
sense. Similar, the watchdog core ensures that minimum timeout limits are
met if min_hw_heartbeat_ms is set. Using watchdog_timeout_invalid() makes
more sense because it takes this into account.
Signed-off-by: Liu Xinpeng <[email protected]>
Reviewed-by: Guenter Roeck <[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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions