summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/common/block/i2c/i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/i2c/i2c.c b/src/soc/amd/common/block/i2c/i2c.c
index 95e25798d2..ec05e49204 100644
--- a/src/soc/amd/common/block/i2c/i2c.c
+++ b/src/soc/amd/common/block/i2c/i2c.c
@@ -100,9 +100,10 @@ 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)) {
printk(BIOS_ERR, "Failed to init i2c bus %d\n", bus);
continue;
+ }
soc_i2c_misc_init(bus, cfg);
}