diff options
author | Yassine Oudjana <y.oudjana@protonmail.com> | 2024-11-06 10:47:51 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 19:54:18 +0100 |
commit | e58e41c25a9ff3681de53bd3fff7d94136ba4dc9 (patch) | |
tree | c3efd1ead4a1993e80c3f5ce3f42cdd093462300 /net/smc | |
parent | d0c1a72b56742c65e3a420ed60e0d66b35946f5c (diff) | |
download | linux-e58e41c25a9ff3681de53bd3fff7d94136ba4dc9.tar.gz linux-e58e41c25a9ff3681de53bd3fff7d94136ba4dc9.tar.bz2 linux-e58e41c25a9ff3681de53bd3fff7d94136ba4dc9.zip |
watchdog: mediatek: Make sure system reset gets asserted in mtk_wdt_restart()
[ Upstream commit a1495a21e0b8aad92132dfcf9c6fffc1bde9d5b2 ]
Clear the IRQ enable bit of WDT_MODE before asserting software reset
in order to make TOPRGU issue a system reset signal instead of an IRQ.
Fixes: a44a45536f7b ("watchdog: Add driver for Mediatek watchdog")
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20241106104738.195968-2-y.oudjana@protonmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions