]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
watchdog: imx7ulp_wdt: handle the nowayout option
authorOleksandr Suvorov <cryosay@gmail.com>
Sun, 23 Nov 2025 20:24:33 +0000 (22:24 +0200)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:20:42 +0000 (07:20 -0500)
commiteceb17825471b638e8dcc99fe8d71ef154ab3e61
treeed0c6935034146e56e42e0f39ef99ea6eb049207
parent9b815fc8c42f1b8f192f49d30e03aea3e8c07b92
watchdog: imx7ulp_wdt: handle the nowayout option

[ Upstream commit d303d37ef5cf86c8c3b2daefd2a7d7fd8ca1ec14 ]

The module parameter `nowayout` indicates whether the watchdog should ever
be allowed to stop, but the driver currently ignores this option.

Pass the `nowayout` parameter to the watchdog core by setting the
WDOG_NO_WAY_OUT flag accordingly.

Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/watchdog/imx7ulp_wdt.c