Skip to contentSkip to conversation

watchdog: meson_gxbb_wdt: remove stop_on_reboot

PATCH In review Artem Lapkin 2 participants 2 messages Nov 10, 2021 – Nov 17, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: meson_gxbb_wdt: remove stop_on_reboot

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/[email protected]/T/#t

---
 drivers/watchdog/meson_gxbb_wdt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/watchdog/meson_gxbb_wdt.c +0 -1
index 5a9ca10fbcfa..3f86530c33b0 100644
@@ -186,7 +186,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);
 }
 
Signature · 1 line
2.25.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Artem Lapkin

Remove watchdog_stop_on_reboot()

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

Quoted 8 lines

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/[email protected]/T/#t

Quoted 19 lines
---
 drivers/watchdog/meson_gxbb_wdt.c | 1 -
 1 file changed, 1 deletion(-)
drivers/watchdog/meson_gxbb_wdt.c +0 -1
index 5a9ca10fbcfa..3f86530c33b0 100644
@@ -186,7 +186,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);
 }
 
Signature · 1 line
2.25.1