diff mbox series

[v2,4/4] i2c: i801: Call i2c_register_spd() on muxed bus segments

Message ID 0e3b68f7-f287-48bf-b087-09ec137a48bb@gmail.com
State Superseded
Delegated to: Andi Shyti
Headers show
Series i2c: Support i2c_register_spd() on multiplexed bus segments | expand

Commit Message

Heiner Kallweit Jan. 13, 2024, 11:28 a.m. UTC
Instruct child adapters to call i2c_register_spd() for each muxed
bus segment.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/i2c/busses/i2c-i801.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
index 3932e8d96..15c93ec5b 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -1404,6 +1404,7 @@  static void i801_add_mux(struct i801_priv *priv)
 	gpio_data.n_values = mux_config->n_values;
 	gpio_data.classes = mux_config->classes;
 	gpio_data.idle = I2C_MUX_GPIO_NO_IDLE;
+	gpio_data.register_spd = 1;
 
 	/* Register GPIO descriptor lookup table */
 	lookup = devm_kzalloc(dev,