u-boot-brain/drivers/power
Grazvydas Ignotas 61712bcad4 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>
2012-03-27 22:05:29 +02:00
..
ftpmu010.c ftpmu010: fix relocation and enhance features 2011-04-27 19:38:08 +02:00
Makefile ftpmu010: support faraday ftpmu010 driver 2011-01-25 22:18:57 +01:00
twl4030.c twl4030: fix potential power supply handling issues 2012-03-27 22:05:29 +02:00
twl6030.c mmc: omap: config VMMC, MMC1_PBIAS 2011-09-30 22:00:55 +02:00