watchdog: meson_gxbb_wdt: remove stop_on_reboot
authorArtem Lapkin <email2tema@gmail.com>
Wed, 10 Nov 2021 02:25:18 +0000 (10:25 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 28 Dec 2021 12:59:06 +0000 (13:59 +0100)
Remove watchdog_stop_on_reboot()

The Meson platform still has some hardware drivers problems for some
configurations which can freeze devices on shutdown/reboot.

Remove watchdog_stop_on_reboot() to catch this situation and ensure that
the reboot happens anyway. Users who still want to stop the watchdog on
reboot can still do so using the watchdog.stop_on_reboot=1 module
parameter.

https://lore.kernel.org/linux-watchdog/20210729072308.1908904-1-art@khadas.com/T/#t

Signed-off-by: Artem Lapkin <art@khadas.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211110022518.1676834-1-art@khadas.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/meson_gxbb_wdt.c

index 945f5e65db579c7bc925d070f094d1a975b69eb7..d3c9e2f6e63b9956f51fd2ae4d61d7e267ebfc31 100644 (file)
@@ -198,7 +198,6 @@ static int meson_gxbb_wdt_probe(struct platform_device *pdev)
 
        meson_gxbb_wdt_set_timeout(&data->wdt_dev, data->wdt_dev.timeout);
 
-       watchdog_stop_on_reboot(&data->wdt_dev);
        return devm_watchdog_register_device(dev, &data->wdt_dev);
 }