summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/common/lpss_i2c.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/common/lpss_i2c.c b/src/soc/intel/common/lpss_i2c.c
index 025ee25f57..c391ffe4a9 100644
--- a/src/soc/intel/common/lpss_i2c.c
+++ b/src/soc/intel/common/lpss_i2c.c
@@ -532,8 +532,7 @@ static int lpss_i2c_gen_config_rise_fall_time(struct lpss_i2c_regs *regs,
soc = get_soc_descriptor(ic_clk);
if (bus == NULL) {
- printk(BIOS_ERR, "lpss_i2c: invalid bus speed %d\n",
- config->speed);
+ printk(BIOS_ERR, "lpss_i2c: invalid bus speed %d\n", speed);
return -1;
}