Tao Ren
ae0d3b65e2
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>
2021-07-20 16:21:14 +02:00
..
2016-09-23 22:35:45 +02:00
2021-07-20 16:21:14 +02:00
2015-09-11 15:12:59 -07:00
2015-09-09 21:38:52 +02:00
2015-09-09 21:38:29 +02:00
2016-10-05 18:36:18 -04:00
2016-03-16 21:09:08 +01:00
2016-03-01 15:36:35 +01:00
2019-09-06 10:19:43 +02:00
2016-09-24 08:50:10 +02:00
2017-07-05 14:40:28 +02:00
2015-09-09 21:34:34 +02:00
2016-09-24 08:50:10 +02:00
2015-09-09 21:39:22 +02:00
2016-05-14 18:25:49 +02:00
2015-12-29 20:36:03 +01:00
2015-12-29 20:36:04 +01:00
2020-06-30 15:38:26 -04:00
2016-07-17 21:02:42 +02:00
2015-09-09 21:39:22 +02:00
2015-12-29 20:36:02 +01:00
2016-03-01 15:36:35 +01:00
2016-09-23 08:40:55 +02:00
2016-05-02 09:32:04 -07:00
2015-09-09 21:39:22 +02:00
2020-08-21 11:02:09 +02:00
2015-09-28 10:56:01 +02:00
2016-07-27 10:47:43 +02:00
2018-03-18 11:18:53 +01:00
2015-09-09 21:39:22 +02:00
2016-03-01 15:36:35 +01:00
2019-10-17 13:42:07 -07:00
2015-10-28 22:58:32 +01:00
2015-02-17 21:32:08 +01:00
2016-09-24 08:49:51 +02:00
2016-05-14 16:24:43 +02:00
2019-06-22 08:17:14 +02:00
2017-10-21 17:21:33 +02:00
2015-08-05 10:35:49 -07:00
2021-07-20 16:21:13 +02:00
2016-10-13 16:44:20 -07:00
2016-01-31 16:51:56 +01:00
2016-07-17 21:01:07 +02:00
2017-01-06 10:40:16 +01:00
2015-12-28 23:04:06 +01:00
2015-09-09 21:39:22 +02:00
2019-12-05 15:34:10 +01:00
2016-03-01 15:36:35 +01:00
2016-03-01 15:36:35 +01:00
2015-09-09 21:37:51 +02:00
2016-09-24 08:59:31 +02:00
2016-03-01 15:36:35 +01:00
2016-03-01 16:25:39 +01:00
2016-07-17 21:04:13 +02:00
2016-05-14 09:22:21 +02:00
2016-09-23 22:04:09 +02:00
2015-12-27 21:09:40 +01:00
2015-06-22 15:54:35 +02:00
2015-09-09 21:39:22 +02:00
2017-05-25 15:44:30 +02:00
2016-07-17 20:59:23 +02:00
2016-07-25 12:02:32 +02:00
2016-07-25 12:02:43 +02:00
2016-03-16 21:09:42 +01:00
2016-10-08 10:27:13 +02:00
2016-10-08 10:27:17 +02:00
2020-12-29 13:45:01 +01:00
2016-03-01 15:29:42 +01:00
2020-11-10 10:23:54 +01:00
2016-05-14 18:15:40 +02:00
2015-09-09 21:39:22 +02:00
2020-02-05 13:05:40 +00:00
2016-09-24 08:59:23 +02:00
2017-04-12 12:41:22 +02:00
2015-09-09 21:38:29 +02:00
2021-07-20 16:21:13 +02:00
2018-05-30 07:50:34 +02:00
2021-07-20 16:21:13 +02:00
2016-05-14 18:25:56 +02:00
2016-07-17 21:00:44 +02:00
2016-10-08 10:27:27 +02:00
2016-01-31 16:52:08 +01:00
2016-05-14 16:16:04 +02:00
2018-05-30 07:50:20 +02:00
2016-09-24 08:59:49 +02:00
2016-01-11 21:51:28 +01:00
2016-01-31 11:06:24 -08:00
2016-03-01 15:36:35 +01:00
2016-07-18 12:10:21 +02:00
2016-09-24 08:50:03 +02:00
2015-08-05 10:35:49 -07:00
2015-12-28 22:29:35 +01:00
2015-09-09 21:39:22 +02:00
2016-09-23 22:36:32 +02:00
2015-09-09 21:39:22 +02:00
2015-09-09 21:39:22 +02:00
2016-09-24 08:50:10 +02:00
2021-07-20 16:21:13 +02:00
2015-11-23 08:59:30 +01:00
2016-09-23 08:37:14 +02:00
2015-12-29 20:36:01 +01:00
2020-05-27 16:41:53 +02:00
2016-10-08 10:27:24 +02:00
2016-10-08 10:27:24 +02:00
2020-03-11 07:53:06 +01:00
2015-09-09 21:39:22 +02:00
2015-09-09 21:39:22 +02:00
2016-09-23 22:34:24 +02:00