diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2012-03-19 03:37:40 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-03-27 22:05:29 +0200 |
commit | 61712bcad48d2874fbd9e2dc90255f0885b716b0 (patch) | |
tree | d447331637e43055e5e0e5647edfacc62c1c17bd /arch/x86 | |
parent | f7dad8f12164d08577b42492ae8d350a002e9d99 (diff) | |
download | u-boot-imx-61712bcad48d2874fbd9e2dc90255f0885b716b0.zip u-boot-imx-61712bcad48d2874fbd9e2dc90255f0885b716b0.tar.gz u-boot-imx-61712bcad48d2874fbd9e2dc90255f0885b716b0.tar.bz2 |
twl4030: fix potential power supply handling issues
twl4030_pmrecv_vsel_cfg currently first sets up device group (effectively
enabling the supply), and only then sets vsel (selects voltage). This could
lead to wrong voltage for a short time, or even long time if second i2c
write fails.
Fix this by writing vsel first and device group after that. Also
introduce error checking to not enable the supply if we failed to set
the voltage, and start logging errors as power supply problems are
usually important.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions