Skip to content
Commit ea104a9e authored by Michael Walle's avatar Michael Walle Committed by Wim Van Sebroeck
Browse files

watchdog: sp805: fix restart handler



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: 6c5c0d48 ("watchdog: sp805: add restart handler")
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200327162450.28506-1-michael@walle.cc


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 2d63908b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment