diff mbox series

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

Message ID af79a115-6ea5-47ac-8060-a1ce5ec32a85@gmail.com
State Superseded
Headers show
Series i2c: Support i2c_register_spd() on multiplexed bus segments | expand

Commit Message

Heiner Kallweit Jan. 10, 2024, 8:16 p.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,