diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2021-08-23 17:45:03 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-10-04 22:57:14 +0300 |
commit | 669b2e4aa1a869def4dc207ea084fdd77366d646 (patch) | |
tree | fe131d48c631f6496cc62c138d00c1a93e3dda4f /drivers/i2c | |
parent | d56baf6efaf14e2910610216c581ca71d6940012 (diff) | |
download | linux-669b2e4aa1a869def4dc207ea084fdd77366d646.tar.xz |
i2c: mlxcpld: Reduce polling time for performance improvement
Decrease polling time 'MLXCPLD_I2C_POLL_TIME' from 400 usec to 200
usec. It improves performance of I2C transactions.
Reliability of setting polling time to 200 usec has been validated
across all the supported systems.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c')
-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 4e0b7c2882ce..520db32ad467 100644 --- a/drivers/i2c/busses/i2c-mlxcpld.c +++ b/drivers/i2c/busses/i2c-mlxcpld.c @@ -27,7 +27,7 @@ #define MLXCPLD_I2C_MAX_ADDR_LEN 4 #define MLXCPLD_I2C_RETR_NUM 2 #define MLXCPLD_I2C_XFER_TO 500000 /* usec */ -#define MLXCPLD_I2C_POLL_TIME 400 /* usec */ +#define MLXCPLD_I2C_POLL_TIME 200 /* usec */ /* LPC I2C registers */ #define MLXCPLD_LPCI2C_CPBLTY_REG 0x0 |