[coreboot-gerrit] New patch to review for coreboot: soc/intel/common/lpss_i2c: correct bus speed error
Aaron Durbin (adurbin@chromium.org)
gerrit at coreboot.org
Fri Nov 18 16:00:26 CET 2016
Aaron Durbin (adurbin at chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17474
-gerrit
commit a7a2477e1153474cdccc7beed90651fe9e8c287a
Author: Aaron Durbin <adurbin at chromium.org>
Date: Fri Nov 18 08:58:25 2016 -0600
soc/intel/common/lpss_i2c: correct bus speed error
The wrong value was used for reporting an error when a requested
bus speed was made that isn't supported. Use the requested value.
Change-Id: I6c92ede3d95590d95a42b40422bab88ea9ae72a1
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
src/soc/intel/common/lpss_i2c.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/soc/intel/common/lpss_i2c.c b/src/soc/intel/common/lpss_i2c.c
index 11685f9..ca0b5a2 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;
}
More information about the coreboot-gerrit
mailing list