diff options
author | Bharat Bhushan <bbhushan2@marvell.com> | 2023-10-09 10:10:36 +0530 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2023-10-29 19:45:08 +0100 |
commit | cc5cfc112a62a4e97ed068513928f5cafd0e6285 (patch) | |
tree | 4ee2f49a3d9ea0a259442dd30468d56ae72f3cf4 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | cd09da4703775d458fd5d0916ec22694b7f55d02 (diff) |
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>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions