diff options
author | Jonas Blixt <jonas.blixt@actia.se> | 2024-08-01 14:18:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-17 15:21:06 +0200 |
commit | 92434724a1d0f73ac203a4fbd0acb4211668fa4c (patch) | |
tree | f8f6264faa28780cf2b225a4ed8970d2af9a7194 /drivers/watchdog/sbc7240_wdt.c | |
parent | e1a686cef7dc1c4ce30755a384ee2e7d274030d3 (diff) | |
download | linux-92434724a1d0f73ac203a4fbd0acb4211668fa4c.tar.gz linux-92434724a1d0f73ac203a4fbd0acb4211668fa4c.tar.bz2 linux-92434724a1d0f73ac203a4fbd0acb4211668fa4c.zip |
watchdog: imx_sc_wdt: Don't disable WDT in suspend
[ Upstream commit 2d9d6d300fb0a4ae4431bb308027ac9385746d42 ]
Parts of the suspend and resume chain is left unprotected if we disable
the WDT here.
>From experiments we can see that the SCU disables and re-enables the WDT
when we enter and leave suspend to ram. By not touching the WDT here we
are protected by the WDT all the way to the SCU.
Signed-off-by: Jonas Blixt <jonas.blixt@actia.se>
CC: Anson Huang <anson.huang@nxp.com>
Fixes: 986857acbc9a ("watchdog: imx_sc: Add i.MX system controller watchdog support")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240801121845.1465765-1-jonas.blixt@actia.se
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 'drivers/watchdog/sbc7240_wdt.c')
0 files changed, 0 insertions, 0 deletions