diff options
author | Tao Ren <rentao.bupt@gmail.com> | 2021-04-16 20:42:49 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:16:13 +0200 |
commit | 14150b631675f3f4b2a1853ff07ebe594c0aa6a6 (patch) | |
tree | ca14ccd94450151d7b40ba2690b67a7e0f7f5042 /fs/nfs | |
parent | cc91a4549be87e82cf3174508fedd564e265c151 (diff) | |
download | linux-stable-14150b631675f3f4b2a1853ff07ebe594c0aa6a6.tar.gz linux-stable-14150b631675f3f4b2a1853ff07ebe594c0aa6a6.tar.bz2 linux-stable-14150b631675f3f4b2a1853ff07ebe594c0aa6a6.zip |
watchdog: aspeed: fix hardware timeout calculation
[ Upstream commit e7dc481c92060f9ce872878b0b7a08c24713a7e5 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions