diff options
| author | Vincent Stehlé <[email protected]> | 2012-12-03 05:23:17 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2012-12-10 12:45:35 -0700 |
| commit | ce851c8b3c8d3318b7afd46019f8ac50a8587ee4 (patch) | |
| tree | 8ec1198f7d5b01428b50a04f75e1475c62b38163 /include | |
| parent | febc4cd48a5c030c7fd411be519505701c100838 (diff) | |
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é <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/twl6035.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/twl6035.h b/include/twl6035.h index e21ddbaf22f..ce74348d443 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); |
