Sam Protsenko
a90102e358
watchdog: s3c2410: Let kernel kick watchdog
...
When "tmr_atboot" module param is set, the watchdog is started in
driver's probe. In that case, also set WDOG_HW_RUNNING bit to let
watchdog core driver know it's running. This way watchdog core can kick
the watchdog for us (if CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED option is
enabled), until user space takes control.
WDOG_HW_RUNNING bit must be set before registering the watchdog. So the
"tmr_atboot" handling code is moved before watchdog registration, to
avoid performing the same check twice. This is also logical because
WDOG_HW_RUNNING bit makes WDT core expect actually running watchdog.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211107202943.8859-5-semen.protsenko@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2021-12-28 13:59:02 +01:00
..
2019-10-23 17:23:46 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2021-10-26 21:31:08 +02:00
2020-05-25 08:55:46 +02:00
2021-04-09 14:54:23 -07:00
2019-05-21 11:28:40 +02:00
2021-06-21 08:49:04 +02:00
2019-10-23 17:23:46 +02:00
2019-05-05 21:02:12 +02:00
2020-01-27 15:55:44 +01:00
2020-08-05 18:42:53 +02:00
2018-03-24 10:19:40 +01:00
2021-10-27 22:21:34 +02:00
2021-08-22 10:28:08 +02:00
2021-06-21 08:49:09 +02:00
2020-08-05 18:42:46 +02:00
2021-03-10 10:58:44 +00:00
2021-06-21 08:49:09 +02:00
2020-10-14 15:02:24 +02:00
2021-03-17 13:16:18 -07:00
2021-03-17 13:16:18 -07:00
2019-07-08 15:13:04 +02:00
2019-05-05 21:02:16 +02:00
2021-10-26 21:31:05 +02:00
2021-10-26 21:31:05 +02:00
2020-10-14 15:02:25 +02:00
2021-11-01 20:18:09 +01:00
2021-06-21 08:49:14 +02:00
2019-07-15 08:49:11 +02:00
2021-06-21 08:48:59 +02:00
2019-07-08 20:35:11 +02:00
2019-05-05 21:02:19 +02:00
2021-06-21 08:49:09 +02:00
2021-12-28 13:59:00 +01:00
2019-07-08 15:13:06 +02:00
2020-08-05 18:42:53 +02:00
2020-12-13 16:17:41 +01:00
2019-07-08 19:39:44 +02:00
2021-06-21 08:49:00 +02:00
2019-07-08 15:13:06 +02:00
2020-08-05 18:42:53 +02:00
2019-10-23 17:23:46 +02:00
2019-07-08 20:46:48 +02:00
2019-06-19 17:09:55 +02:00
2021-08-22 10:28:08 +02:00
2020-10-14 15:02:26 +02:00
2021-06-21 08:49:14 +02:00
2019-10-23 17:23:46 +02:00
2021-01-25 20:05:32 +02:00
2021-06-21 08:49:04 +02:00
2021-02-07 14:41:18 +01:00
2020-03-10 10:20:27 +01:00
2020-03-10 10:20:27 +01:00
2021-10-26 21:31:12 +02:00
2021-10-26 20:22:51 +02:00
2021-06-21 08:49:11 +02:00
2021-12-28 13:58:59 +01:00
2021-06-21 08:48:57 +02:00
2019-06-05 17:36:38 +02:00
2019-06-19 17:09:55 +02:00
2019-07-08 15:13:08 +02:00
2021-06-21 08:49:03 +02:00
2020-08-05 18:42:53 +02:00
2021-05-17 18:56:23 -05:00
2021-11-01 20:18:08 +01:00
2021-08-22 10:28:11 +02:00
2019-07-08 15:13:09 +02:00
2021-06-22 12:40:31 +02:00
2019-07-08 15:13:09 +02:00
2019-07-08 15:13:10 +02:00
2019-11-03 19:54:53 +01:00
2021-10-26 21:31:06 +02:00
2021-06-21 08:49:05 +02:00
2019-10-23 17:23:46 +02:00
2021-10-26 21:31:10 +02:00
2019-05-05 21:02:24 +02:00
2021-08-22 10:28:10 +02:00
2021-06-21 08:49:19 +02:00
2019-06-19 17:09:55 +02:00
2021-11-10 09:41:22 -08:00
2021-06-21 08:48:58 +02:00
2019-07-08 15:13:10 +02:00
2019-07-08 15:13:11 +02:00
2021-04-09 14:11:24 +09:30
2020-08-05 18:43:01 +02:00
2020-08-05 18:43:01 +02:00
2021-07-07 12:57:46 -07:00
2017-09-04 21:19:03 +02:00
2021-06-21 08:49:08 +02:00
2021-10-26 20:22:51 +02:00
2019-07-08 20:35:11 +02:00
2021-06-21 08:49:12 +02:00
2021-06-21 08:49:09 +02:00
2020-08-05 18:42:53 +02:00
2020-10-14 15:02:22 +02:00
2021-01-26 07:42:27 +01:00
2019-07-08 15:13:12 +02:00
2019-07-08 15:13:12 +02:00
2019-10-23 17:23:46 +02:00
2020-03-18 11:10:09 +01:00
2019-09-16 22:10:05 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2021-06-21 08:49:12 +02:00
2019-07-08 15:13:14 +02:00
2020-08-05 18:42:53 +02:00
2020-10-14 15:02:21 +02:00
2021-02-07 14:41:22 +01:00
2021-03-23 15:22:40 +01:00
2021-03-17 13:16:18 -07:00
2019-12-30 15:58:29 +01:00
2019-06-19 17:09:55 +02:00
2019-05-05 21:10:34 +02:00
2021-10-26 21:31:09 +02:00
2021-10-26 21:31:10 +02:00
2021-12-28 13:59:02 +01:00
2020-08-05 18:42:53 +02:00
2021-06-21 08:49:16 +02:00
2020-08-05 18:42:53 +02:00
2021-06-21 08:48:59 +02:00
2020-08-05 18:42:53 +02:00
2019-07-08 20:35:11 +02:00
2019-10-23 17:23:46 +02:00
2020-12-13 16:17:41 +01:00
2021-10-26 20:22:51 +02:00
2021-06-21 08:49:02 +02:00
2020-08-23 17:36:59 -05:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:54 +02:00
2019-05-30 11:26:32 -07:00
2021-08-22 10:28:09 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:43:02 +02:00
2021-06-21 08:49:01 +02:00
2021-10-26 21:31:11 +02:00
2020-10-14 15:22:57 +02:00
2020-12-13 16:17:39 +01:00
2019-07-08 15:13:16 +02:00
2021-10-26 21:31:02 +02:00
2019-07-08 15:13:17 +02:00
2019-05-05 21:02:29 +02:00
2019-05-30 11:26:32 -07:00
2021-10-26 21:31:08 +02:00
2019-07-08 15:13:17 +02:00
2021-08-22 10:28:10 +02:00
2019-05-05 21:02:32 +02:00
2019-07-08 15:13:17 +02:00
2019-05-30 11:26:35 -07:00
2019-06-19 17:09:55 +02:00
2019-05-05 21:02:32 +02:00
2019-05-30 11:29:22 -07:00
2020-10-14 15:22:58 +02:00
2019-12-30 15:58:23 +01:00
2021-06-21 08:49:03 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2021-08-22 10:28:08 +02:00
2021-06-21 08:49:13 +02:00
2021-08-22 10:28:12 +02:00
2021-06-21 08:49:13 +02:00
2021-06-21 08:49:13 +02:00
2017-11-02 11:10:55 +01:00
2019-07-08 20:35:11 +02:00
2021-06-21 08:49:09 +02:00
2020-08-23 17:36:59 -05:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2021-06-21 08:49:09 +02:00
2021-06-21 08:49:09 +02:00
2020-03-18 11:15:24 +01:00
2018-03-24 10:19:40 +01:00
2019-07-08 15:13:18 +02:00
2021-06-21 08:49:15 +02:00