Skip to content
Snippets Groups Projects
Commit 085e728a authored by Fabio Estevam's avatar Fabio Estevam Committed by Stefano Babic
Browse files

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: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent d2292510
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment