mx53loco: Improve error handling on power_init()
Make the error handling more robust.
Check if each one of the PMIC writes fail and if they do, just return
immediately.
Also, print the cause for the failures.
Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
Loading
Please register or sign in to comment