Skip to content

Commit 1c36eb1

Browse files
glneogregkh
authored andcommitted
power: reset: brcmstb: Do not go into infinite loop if reset fails
[ Upstream commit cf8c39b ] There may be other backup reset methods available, do not halt here so that other reset methods can be tried. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Dhruva Gole <d-gole@ti.com> Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20240610142836.168603-5-afd@ti.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 2d56271 commit 1c36eb1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/power/reset/brcmstb-reboot.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ static int brcmstb_restart_handler(struct notifier_block *this,
6262
return NOTIFY_DONE;
6363
}
6464

65-
while (1)
66-
;
67-
6865
return NOTIFY_DONE;
6966
}
7067

0 commit comments

Comments
 (0)