diff options
Diffstat (limited to 'src/soc/amd/common/block/i2c/i2c.c')
-rw-r--r-- | src/soc/amd/common/block/i2c/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/i2c/i2c.c b/src/soc/amd/common/block/i2c/i2c.c index a70645c293..733ad88132 100644 --- a/src/soc/amd/common/block/i2c/i2c.c +++ b/src/soc/amd/common/block/i2c/i2c.c @@ -96,7 +96,7 @@ static void dw_i2c_soc_init(bool is_early_init) cfg->early_init != is_early_init) continue; - if (dw_i2c_init(bus, cfg)) { + if (dw_i2c_init(bus, cfg) != CB_SUCCESS) { printk(BIOS_ERR, "Failed to init i2c bus %u\n", bus); continue; } |