Re: Stopping watchdog in watchdog driver remove functions
From: Andy Shevchenko
Date: Sun Jan 01 2017 - 10:25:06 EST
On Sun, Jan 1, 2017 at 1:14 PM, Wim Van Sebroeck <wim@xxxxxxxxx> wrote:
>> Given that, does it even make sense to stop the watchdog in the remove
>> function ?
>> Should it even be permitted ?
>
> From an API point of view: if WDIOF_MAGICCLOSE is being used then the watchdog
> _SHOULD_ continue to run when the watchdog was not properly closed (which
> normally also results in a reboot of the system).
Btw, some systems may require watchdog to be run in order to perform reboot.
--
With Best Regards,
Andy Shevchenko