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>
This commit is contained in:
parent
04de23214e
commit
dc8679cefe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue