diff options
author | Michael Walle <michael@walle.cc> | 2020-03-27 17:24:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-23 10:36:15 +0200 |
commit | 9a9eae78529cfd9152af417acbf09a32019605c5 (patch) | |
tree | cac75c24f1adb23721e8ecada8398eb4d3d77c00 /drivers/watchdog/ie6xx_wdt.c | |
parent | 41d097c83343326c5c72c9801a5222b2a575a27a (diff) |
watchdog: sp805: fix restart handler
commit ea104a9e4d3e9ebc26fb78dac35585b142ee288b upstream.
The restart handler is missing two things, first, the registers
has to be unlocked and second there is no synchronization for the
write_relaxed() calls.
This was tested on a custom board with the NXP LS1028A SoC.
Fixes: 6c5c0d48b686c ("watchdog: sp805: add restart handler")
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200327162450.28506-1-michael@walle.cc
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/watchdog/ie6xx_wdt.c')
0 files changed, 0 insertions, 0 deletions