diff options
| author | Bharat Bhushan <[email protected]> | 2023-10-09 04:40:36 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2023-10-29 18:45:08 +0000 |
| commit | cc5cfc112a62a4e97ed068513928f5cafd0e6285 (patch) | |
| tree | 4ee2f49a3d9ea0a259442dd30468d56ae72f3cf4 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | watchdog: marvell_gti: Replace of_platform.h with explicit includes (diff) | |
| download | kernel-cc5cfc112a62a4e97ed068513928f5cafd0e6285.tar.gz kernel-cc5cfc112a62a4e97ed068513928f5cafd0e6285.zip | |
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 <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
