diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2021-08-23 17:45:02 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-10-04 21:56:20 +0200 |
commit | fa1049135c15b4930ce7ea757a81b1b78908f304 (patch) | |
tree | 3f9e7ebc373a2f36f4a9eb0502222739954991d0 | |
parent | 52f57396c75acd77ebcdf3d20aed24ed248e9f79 (diff) | |
download | linux-fa1049135c15b4930ce7ea757a81b1b78908f304.tar.bz2 |
i2c: mlxcpld: Modify register setting for 400KHz frequency
Change setting for 400KHz frequency support by more accurate value.
Fixes: 66b0c2846ba8 ("i2c: mlxcpld: Add support for I2C bus frequency setting")
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
-rw-r--r-- | drivers/i2c/busses/i2c-mlxcpld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-mlxcpld.c b/drivers/i2c/busses/i2c-mlxcpld.c index 6d41c3db8a2b..015e11c4663f 100644 --- a/drivers/i2c/busses/i2c-mlxcpld.c +++ b/drivers/i2c/busses/i2c-mlxcpld.c @@ -49,7 +49,7 @@ #define MLXCPLD_LPCI2C_NACK_IND 2 #define MLXCPLD_I2C_FREQ_1000KHZ_SET 0x04 -#define MLXCPLD_I2C_FREQ_400KHZ_SET 0x0f +#define MLXCPLD_I2C_FREQ_400KHZ_SET 0x0c #define MLXCPLD_I2C_FREQ_100KHZ_SET 0x42 enum mlxcpld_i2c_frequency { |