]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
watchdog: iTCO_wdt: No need to stop the timer in probe
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 2 Oct 2023 07:05:39 +0000 (09:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 19:43:39 +0000 (21:43 +0200)
commit8013f191f073052b33ac248d3e3ecb3326258eab
treec62f8bcf1c9a181c0428eff530845690f757641d
parente0eebcced74a37245aed7e426ae815fa8db8c297
watchdog: iTCO_wdt: No need to stop the timer in probe

commit 1ae3e78c08209ac657c59f6f7ea21bbbd7f6a1d4 upstream.

The watchdog core can handle pinging of the watchdog before userspace
opens the device. For this reason instead of stopping the timer, just
mark it as running and let the watchdog core take care of it.

Cc: Malin Jonsson <malin.jonsson@ericsson.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210921102900.61586-1-mika.westerberg@linux.intel.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/iTCO_wdt.c