Skip to contentSkip to conversation

i2c: mlxcpld: Fix register setting for 400KHz frequency

PATCH Applied Vadim Pasternak 2 participants 2 messages Jul 13, 2022 – Jul 16, 2022

Subsystems (2)
lore
Share & tools
lore

Vadim Pasternak

author maintainer
#0 lore raw

PATCH 1/1 i2c: mlxcpld: Fix register setting for 400KHz frequency

Fix setting of 'Half Cycle' register for 400KHz frequency.

Fixes fa1049135c15 ("i2c: mlxcpld: Modify register setting for 400KHz frequency")
---
 drivers/i2c/busses/i2c-mlxcpld.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-mlxcpld.c +1 -1
index 363ea9fd66c4..72fcfb17dd67 100644
@@ -49,7 +49,7 @@
 #define MLXCPLD_LPCI2C_NACK_IND		2
 
 #define MLXCPLD_I2C_FREQ_1000KHZ_SET	0x04
-#define MLXCPLD_I2C_FREQ_400KHZ_SET	0x0c
+#define MLXCPLD_I2C_FREQ_400KHZ_SET	0x0e
 #define MLXCPLD_I2C_FREQ_100KHZ_SET	0x42
 
 enum mlxcpld_i2c_frequency {
Signature · 1 line
2.20.1
Applied
#1 lore raw
Quoted 4 lines · Vadim Pasternak

Fix setting of 'Half Cycle' register for 400KHz frequency.

Fixes fa1049135c15 ("i2c: mlxcpld: Modify register setting for 400KHz frequency")

Applied to for-current, thanks!