diff options
Diffstat (limited to 'src/soc/intel/common/block/i2c/i2c.c')
-rw-r--r-- | src/soc/intel/common/block/i2c/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c index acc23abb0c..7fdf8187ff 100644 --- a/src/soc/intel/common/block/i2c/i2c.c +++ b/src/soc/intel/common/block/i2c/i2c.c @@ -72,7 +72,7 @@ static int lpss_i2c_early_init_bus(unsigned int bus) lpss_set_power_state(dev, STATE_D0); /* Initialize the controller */ - if (dw_i2c_init(bus, config) < 0) { + if (dw_i2c_init(bus, config) != CB_SUCCESS) { printk(BIOS_ERR, "I2C%u failed to initialize\n", bus); return -1; } |