diff options
author | Eliav Farber <farbere@amazon.com> | 2022-04-14 05:42:33 +0000 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2022-05-21 10:07:31 +0200 |
commit | ac97c9374d3cdfa42611a32a653ac75db423cac4 (patch) | |
tree | 1c7335e6f5b32bece7d2dbe8e7e4cbff3dedb974 /drivers/watchdog/rti_wdt.c | |
parent | a7ceca4398bc835c6ad29d10e1106de4cf0332e1 (diff) |
watchdog: sp805: disable watchdog on remove
Disable the watchdog if it is active while removing the module.
It is necessary in order to prevent a reset in case watchdog
hw was running before the removal.
Signed-off-by: Eliav Farber <farbere@amazon.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220414054233.1357-2-farbere@amazon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/rti_wdt.c')
0 files changed, 0 insertions, 0 deletions