diff options
author | Paul Cercueil <[email protected]> | 2019-06-07 18:24:27 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2019-07-08 16:10:11 +0200 |
commit | 9b3461188e86f19113f57a71c8873fab6ca95f36 (patch) | |
tree | eb2f091e8972b123ccd343958c59b577a1fcd0d0 /net/lapb/lapb_subr.c | |
parent | df04cce3b8f9124fbb201edde84b591fd38d2169 (diff) |
watchdog: jz4740: Avoid starting watchdog in set_timeout
Previously the jz4740_wdt_set_timeout() function was starting the timer
unconditionally, even if it was stopped when that function was entered.
Now, the timer will be restarted only if it was already running before
this function is called.
Signed-off-by: Paul Cercueil <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions