02 Apr, 2013
1 commit
-
i2c_del_mux_adapter always returns 0 and none of it current users check its
return value anyway. It is also an essential requirement of the Linux device
driver model, that functions which may be called from a device's remove callback
to free resources provided by the device, are not allowed to fail. This is the
case for i2c_del_mux_adapter(), so make its return type void to make the
fact that it won't fail explicit.Signed-off-by: Lars-Peter Clausen
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
06 Oct, 2012
1 commit
-
Let I2C bus segments behind multiplexers have a class. This allows for
device auto-detection on these segments. As long as parent segments
don't share the same class, it should be fine.I implemented support in drivers i2c-mux-gpio and i2c-mux-pca954x. I
left i2c-mux-pca9541 and i2c-mux-pinctrl alone for the moment as I
don't know if this feature makes sense for the use cases of these
drivers.Signed-off-by: Jean Delvare
Cc: Peter Korsgaard
Cc: David Daney
Cc: Michael Lawnick
Cc: Rodolfo Giometti
12 May, 2012
1 commit
-
And adjust all callers.
The new device parameter is used in the next patch to initialize the
mux's of_node so that its children may be automatically populated.Signed-off-by: David Daney
Tested-by: Lars-Peter Clausen
Signed-off-by: Wolfram Sang
27 Mar, 2012
1 commit
-
Signed-off-by: Jean Delvare
12 Aug, 2010
1 commit
-
Add multiplexed bus core support. I2C multiplexer and switches
like pca954x get instantiated as new adapters per port.Signed-off-by: Michael Lawnick
Acked-by: Rodolfo Giometti
Signed-off-by: Jean Delvare