summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2015-02-02 10:11:44 -0500
committerTom Rini <trini@ti.com>2015-02-02 10:11:44 -0500
commitbe8ddad9c85935569a00b72f92cdc34e4386850f (patch)
tree9cfff8c5cc13f0518f3dfe3a35f558e2a5637f95 /drivers/power
parent358b8bc204f365be28fed94f23e53e04183a8c7f (diff)
parent5abdb156bb5c2685744be3620c4bdb1875bd81ce (diff)
downloadu-boot-imx-be8ddad9c85935569a00b72f92cdc34e4386850f.zip
u-boot-imx-be8ddad9c85935569a00b72f92cdc34e4386850f.tar.gz
u-boot-imx-be8ddad9c85935569a00b72f92cdc34e4386850f.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/axp221.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/power/axp221.c b/drivers/power/axp221.c
index 58bbd45..3e07f23 100644
--- a/drivers/power/axp221.c
+++ b/drivers/power/axp221.c
@@ -29,9 +29,7 @@ static int pmic_bus_init(void)
#else
int ret;
- rsb_init();
-
- ret = rsb_set_device_mode(AXP223_DEVICE_MODE_DATA);
+ ret = rsb_init();
if (ret)
return ret;