commit | fbbdadf13478c8390ab614a7431aa355b6df5a2a | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Fri Dec 28 04:05:29 2012 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Sat Jan 05 18:07:53 2013 +0100 |
tree | 8bb5e400b6f19d462b877a07fb070afb8552a143 | |
parent | df5b4c34d9fe15f91af4a54413b070ef607cf624 [diff] |
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>