Skip to content

Commit cf8c39b

Browse files
glneosre
authored andcommitted
power: reset: brcmstb: Do not go into infinite loop if reset fails
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 <[email protected]> Reviewed-by: Dhruva Gole <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent ad87aee commit cf8c39b

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
@@ -58,9 +58,6 @@ static int brcmstb_restart_handler(struct sys_off_data *data)
5858
return NOTIFY_DONE;
5959
}
6060

61-
while (1)
62-
;
63-
6461
return NOTIFY_DONE;
6562
}
6663

0 commit comments

Comments
 (0)