watchdog: iTCO_wdt: No need to stop the timer in probe
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 21 Sep 2021 10:29:00 +0000 (13:29 +0300)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 26 Oct 2021 19:31:12 +0000 (21:31 +0200)
commit1ae3e78c08209ac657c59f6f7ea21bbbd7f6a1d4
tree8e5a246df37e6c47106edb5e5949547a74a0a124
parent981785da79f0bfecdd328f49e6473c232e3a6bdb
watchdog: iTCO_wdt: No need to stop the timer in probe

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>
drivers/watchdog/iTCO_wdt.c