diff mbox series

[RFC,3/3] i2c: i801: Call i2c_register_spd() on muxed bus segments

Message ID 1e7aa485-8d8b-48c3-ac2b-85f6d40404cd@gmail.com
State Superseded
Headers show
Series i2c: Enable calling i2c_register_spd() on muxed bus segments | expand

Commit Message

Heiner Kallweit Dec. 22, 2023, 3:55 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 070999139..dd68335f8 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -1402,6 +1402,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,