summaryrefslogtreecommitdiff
path: root/drivers/power/as3722.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/as3722.c')
-rw-r--r--drivers/power/as3722.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/as3722.c b/drivers/power/as3722.c
index 3aafdc9..a60bb5f 100644
--- a/drivers/power/as3722.c
+++ b/drivers/power/as3722.c
@@ -242,7 +242,7 @@ int as3722_init(struct udevice **devp)
const unsigned int address = 0x40;
int err;
- err = i2c_get_chip_for_busnum(bus, address, &pmic);
+ err = i2c_get_chip_for_busnum(bus, address, 1, &pmic);
if (err)
return err;
err = as3722_read_id(pmic, &id, &revision);