Bharat Bhushan cc5cfc112a drivers: watchdog: marvell_gti: fix zero pretimeout handling
When pretimeout is set to 0 then do not reprogram timer
with zero timeout, this will reset device immediately.
Also disable interrupt to stop pretimeout notification.

Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231009044037.514570-1-bbhushan2@marvell.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2023-10-29 19:45:08 +01:00
..
2023-10-29 19:45:04 +01:00
2023-09-06 09:19:12 -07:00
2021-06-22 12:40:31 +02:00
2021-07-07 12:57:46 -07:00
2022-07-23 14:21:28 +02:00
2023-05-04 18:33:56 -07:00
2023-01-10 23:10:27 +01:00