diff options
author | Jack Mitchell <ml@embed.me.uk> | 2020-01-07 18:51:55 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-01-27 17:55:46 +0300 |
commit | e7046df873548bfc87c0c594ca473226c5d3317b (patch) | |
tree | f2ad51834ce31d7a6185054ad98660ce69d8b24a /drivers/watchdog/it87_wdt.c | |
parent | 69503e585192fdd84b240f18a0873d20e18a2e0a (diff) | |
download | linux-e7046df873548bfc87c0c594ca473226c5d3317b.tar.xz |
watchdog: dw_wdt: ping watchdog to reset countdown before start
Currently on an rk3288 SoC when trying to use the watchdog the SoC will
instantly reset. This is due to the watchdog countdown counter being set
to its initial value of 0x0. Reset the watchdog counter before start in
order to correctly start the countdown timer from the right position.
Signed-off-by: Jack Mitchell <ml@embed.me.uk>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200107155155.278521-1-ml@embed.me.uk
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/it87_wdt.c')
0 files changed, 0 insertions, 0 deletions