aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorRobin Gong <[email protected]>2021-05-15 01:21:15 +0800
committerWim Van Sebroeck <[email protected]>2021-06-21 08:48:59 +0200
commite0b101ab01c719a5a81b21ff16bbd33a868f9189 (patch)
treef52aea1dedf2601d5eaed85b74a64c6823450b2b /lib/string_helpers.c
parent76215889be9d2cd388207545424bbbe3bf80e1ea (diff)
watchdog: imx2_wdt: avoid to ping before resume back
Since watchdog_ping_work is not freezable so that it maybe scheduled before imx2_wdt_resume where watchdog clock enabled, hence, kernel will hang in imx2_wdt_ping without clock, and then watchdog reset happen. Add clk_is_on to prevent the above case by ignoring ping until watchdog driver resume back indeed. Signed-off-by: Robin Gong <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions