diff options
author | Jan Kiszka <[email protected]> | 2022-02-21 17:22:38 +0100 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2022-05-21 10:07:32 +0200 |
commit | c83f643878388d468e0a674ac9502d4080499646 (patch) | |
tree | 0a5768e5705437fe88aed5555c1b3731178ca7fb /tools/perf/scripts/python/task-analyzer.py | |
parent | 95d0eee9718a21ed35fb80a68d3a71759b136f77 (diff) |
watchdog: rti_wdt: Fix calculation and evaluation of preset heartbeat
This ensures that the same value is read back as was eventually
programmed when using seconds as accuracy. Even then, comparing the more
precise heartbeat_ms against heartbeat in seconds will almost never
provide a match and will needlessly raise a warning. Fix by comparing
apples to apples.
Tested in combination with U-Boot as watchdog starter.
Signed-off-by: Jan Kiszka <[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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions