summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2019-02-13 22:37:26 -0800
committerFurquan Shaikh <furquan@google.com>2019-02-15 06:38:02 +0000
commitdc8679cefe5b40afb7b5beb9fe1ddf33d739e49e (patch)
tree0327f0cf1ad28fcd57b97b135856ce55ebc7acd1 /src/drivers
parent04de23214ef8d2575725e72586dd5bde6f0b256e (diff)
drivers/i2c/max98373: Set default bus speed as I2C_SPEED_FAST
This change sets default bus speed as I2C_SPEED_FAST instead of I2C_SPEED_STANDARD when board does not provide any speed. This makes it similar to all other i2c drivers in coreboot. BUG=b:124403846 BRANCH=nocturne,atlas Change-Id: I877d837eea2dfebf78ad7d97a32ee2071500625e Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/31407 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/i2c/max98373/max98373.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/max98373/max98373.c b/src/drivers/i2c/max98373/max98373.c
index e10ccf1c12..0431c2e591 100644
--- a/src/drivers/i2c/max98373/max98373.c
+++ b/src/drivers/i2c/max98373/max98373.c
@@ -34,7 +34,7 @@ static void max98373_fill_ssdt(struct device *dev)
struct acpi_i2c i2c = {
.address = dev->path.i2c.device,
.mode_10bit = dev->path.i2c.mode_10bit,
- .speed = config->bus_speed ? : I2C_SPEED_STANDARD,
+ .speed = config->bus_speed ? : I2C_SPEED_FAST,
.resource = scope,
};
struct acpi_dp *dp;