diff options
author | Sergei Antonov <saproj@gmail.com> | 2022-08-29 12:04:36 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2022-10-02 12:55:35 +0200 |
commit | 64ee9375090e3c677b6e4e089d41362ac16e4357 (patch) | |
tree | 3e203de27e53d6f55d96ab179fbafde9ba502d9a /drivers/vlynq/vlynq.c | |
parent | 5a9fbf8b807c0e35fc99bb65a9559ec9b0abde66 (diff) |
watchdog: ftwdt010_wdt: implement _restart() function
Implement ftwdt010_wdt_restart(). It enables watchdog with timeout = 0
and disabled IRQ. Since it needs code similar to ftwdt010_wdt_start(),
add a new function ftwdt010_enable() and move common code there.
Suggested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220829090436.452742-1-saproj@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/vlynq/vlynq.c')
0 files changed, 0 insertions, 0 deletions