]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mx53loco: Improve error handling on power_init()
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 28 Dec 2012 04:05:29 +0000 (04:05 +0000)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Jan 2013 17:07:53 +0000 (18:07 +0100)
commit085e728aa56a71f0e52bd657a441b4bf9212841a
tree8bb5e400b6f19d462b877a07fb070afb8552a143
parentd22925108e46491900815c9ec3c32122ead80d8e
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>
board/freescale/mx53loco/mx53loco.c