summaryrefslogtreecommitdiff
path: root/drivers/watchdog/sp5100_tco.c
diff options
context:
space:
mode:
authorTao Ren <rentao.bupt@gmail.com>2021-04-17 06:42:49 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2021-06-21 09:49:04 +0300
commite7dc481c92060f9ce872878b0b7a08c24713a7e5 (patch)
treef69db179818cf2ade11dcb75d6e66b811e317444 /drivers/watchdog/sp5100_tco.c
parent0102882979582b6f9a351edcf600da9574030193 (diff)
downloadlinux-e7dc481c92060f9ce872878b0b7a08c24713a7e5.tar.xz
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 <amithash@fb.com> Signed-off-by: Tao Ren <rentao.bupt@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20210417034249.5978-1-rentao.bupt@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/sp5100_tco.c')
0 files changed, 0 insertions, 0 deletions