Skip to content

Commit 669b2e4

Browse files
vadimp-nvidiawsakernel
authored andcommitted
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>
1 parent d56baf6 commit 669b2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-mlxcpld.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define MLXCPLD_I2C_MAX_ADDR_LEN 4
2828
#define MLXCPLD_I2C_RETR_NUM 2
2929
#define MLXCPLD_I2C_XFER_TO 500000 /* usec */
30-
#define MLXCPLD_I2C_POLL_TIME 400 /* usec */
30+
#define MLXCPLD_I2C_POLL_TIME 200 /* usec */
3131

3232
/* LPC I2C registers */
3333
#define MLXCPLD_LPCI2C_CPBLTY_REG 0x0

0 commit comments

Comments
 (0)