From 9d06d028fc53a63160732152caf82f361bd4542b Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:23:06 +0100 Subject: [PATCH] Revert "power: reset: brcmstb: Do not go into infinite loop if reset fails" This reverts commit 4d65ccd38635d5962d91fec8d3779ccdd7426fcb. --- drivers/power/reset/brcmstb-reboot.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/power/reset/brcmstb-reboot.c b/drivers/power/reset/brcmstb-reboot.c index 9f8b9e5ca..884b53c48 100755 --- a/drivers/power/reset/brcmstb-reboot.c +++ b/drivers/power/reset/brcmstb-reboot.c @@ -72,6 +72,9 @@ static int brcmstb_restart_handler(struct notifier_block *this, return NOTIFY_DONE; } + while (1) + ; + return NOTIFY_DONE; }