diff options
author | Tao Ren <[email protected]> | 2021-04-16 20:42:49 -0700 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2021-06-21 08:49:04 +0200 |
commit | e7dc481c92060f9ce872878b0b7a08c24713a7e5 (patch) | |
tree | f69db179818cf2ade11dcb75d6e66b811e317444 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 0102882979582b6f9a351edcf600da9574030193 (diff) |
watchdog: aspeed: fix hardware timeout calculation
Fix hardware timeout calculation in aspeed_wdt_set_timeout function to
ensure the reload value does not exceed the hardware limit.
Fixes: efa859f7d786 ("watchdog: Add Aspeed watchdog driver")
Reported-by: Amithash Prasad <[email protected]>
Signed-off-by: Tao Ren <[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/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions