diff options
Diffstat (limited to 'src/mainboard/google/nyan_blaze/pmic.c')
-rw-r--r-- | src/mainboard/google/nyan_blaze/pmic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/nyan_blaze/pmic.c b/src/mainboard/google/nyan_blaze/pmic.c index a6f6912a62..9f3f81a985 100644 --- a/src/mainboard/google/nyan_blaze/pmic.c +++ b/src/mainboard/google/nyan_blaze/pmic.c @@ -59,7 +59,7 @@ static struct as3722_init_reg init_list[] = { static void pmic_write_reg(unsigned bus, uint8_t reg, uint8_t val, int do_delay) { - i2c_write(bus, AS3722_I2C_ADDR, reg, 1, &val, 1); + i2c_writeb(bus, AS3722_I2C_ADDR, reg, val); if (do_delay) udelay(500); } |