- [tscherer@ws067:watchdog] master(+4/-0) 1m36s ± gd
- diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c
- index f07850d2c977..a5dd8024dd6e 100644
- --- a/drivers/watchdog/imx2_wdt.c
- +++ b/drivers/watchdog/imx2_wdt.c
- @@ -306,6 +306,10 @@ static int __init imx2_wdt_probe(struct platform_device *pdev)
- watchdog_set_restart_priority(wdog, 128);
- watchdog_init_timeout(wdog, timeout, &pdev->dev);
- + if (IS_ENABLED(CONFIG_WATCHDOG_PRETIMEOUT_GOV)) {
- + imx2_wdt_set_pretimeout(wdog, 3);
- + }
- +
- if (imx2_wdt_is_running(wdev)) {
- imx2_wdt_set_timeout(wdog, wdog->timeout);
- set_bit(WDOG_HW_RUNNING, &wdog->status);
imx2_wdt_set_pretimeout
Posted by Anonymous on Tue 21st Jul 2020 15:11
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.