Inform the watchdog framework that the watchog is running. Each driver have to set this bit because the watchdog core framework only clears this bit. Fixes: 5e9c16e37608 ("watchdog: Add DA9063 PMIC watchdog driver.") Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> --- drivers/watchdog/da9063_wdt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/watchdog/da9063_wdt.c b/drivers/watchdog/da9063_wdt.c index c1216e61e64e..1b0ccadbc248 100644 --- a/drivers/watchdog/da9063_wdt.c +++ b/drivers/watchdog/da9063_wdt.c @@ -86,6 +86,8 @@ static int da9063_wdt_start(struct watchdog_device *wdd) dev_err(da9063->dev, "Watchdog failed to start (err = %d)\n", ret); + set_bit(WDOG_HW_RUNNING, &wdd->status); + return ret; } -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html