Skip to content

Commit

Permalink
power: reset: brcmstb: Do not go into infinite loop if reset fails
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
glneo authored and sre committed Aug 27, 2024
1 parent ad87aee commit cf8c39b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/power/reset/brcmstb-reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ static int brcmstb_restart_handler(struct sys_off_data *data)
return NOTIFY_DONE;
}

while (1)
;

return NOTIFY_DONE;
}

Expand Down

0 comments on commit cf8c39b

Please sign in to comment.