]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/tegra20-common/pmu.c
dm: i2c: Provide an offset length parameter where needed
[karo-tx-uboot.git] / arch / arm / cpu / tegra20-common / pmu.c
index 36a76a24d971e7d012570cc7ad7e3c16a2a1a4f5..a774246a2779435b47376b4f7e2cb093a59a991d 100644 (file)
@@ -52,7 +52,7 @@ int pmu_set_nominal(void)
                debug("%s: Cannot find DVC I2C bus\n", __func__);
                return ret;
        }
-       ret = i2c_get_chip(bus, PMI_I2C_ADDRESS, &dev);
+       ret = i2c_get_chip(bus, PMI_I2C_ADDRESS, 1, &dev);
        if (ret) {
                debug("%s: Cannot find DVC I2C chip\n", __func__);
                return ret;