summaryrefslogtreecommitdiffstats
path: root/include/twl6035.h
diff options
context:
space:
mode:
authorVincent Stehlé <v-stehle@ti.com>2012-12-03 05:23:17 +0000
committerTom Rini <trini@ti.com>2012-12-10 12:45:35 -0700
commitce851c8b3c8d3318b7afd46019f8ac50a8587ee4 (patch)
tree8ec1198f7d5b01428b50a04f75e1475c62b38163 /include/twl6035.h
parentfebc4cd48a5c030c7fd411be519505701c100838 (diff)
downloadblackbird-obmc-uboot-ce851c8b3c8d3318b7afd46019f8ac50a8587ee4.tar.gz
blackbird-obmc-uboot-ce851c8b3c8d3318b7afd46019f8ac50a8587ee4.zip
power: twl6035: complain on LDO9 error
We handle i2c_write return code and complain in case of error. We propagate the error, too, to allow better handling at the upper level in the future. Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
Diffstat (limited to 'include/twl6035.h')
-rw-r--r--include/twl6035.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/twl6035.h b/include/twl6035.h
index e21ddbaf22..ce74348d44 100644
--- a/include/twl6035.h
+++ b/include/twl6035.h
@@ -39,4 +39,4 @@
int twl6035_i2c_write_u8(u8 chip_no, u8 val, u8 reg);
int twl6035_i2c_read_u8(u8 chip_no, u8 *val, u8 reg);
void twl6035_init_settings(void);
-void twl6035_mmc1_poweron_ldo(void);
+int twl6035_mmc1_poweron_ldo(void);
OpenPOWER on IntegriCloud