Guenter Roeck said the following:
> Hi all,
> 
> I am trying to use the new GPIO based I2C multiplexer. Unfortunately, I
> have an initialization problem with it.
> 
> Some time after registering the multiplexer as platform driver, its
> probe function is called. Unfortunately, that does not happen in sync
> with I2C adapter initialization. The GPIO mux probe function is called
> before the parent's (ie the multiplexed I2C adapter) probe function is
> called. As a result, the GPIO mux driver does not find its parent i2c
> adapter, and the probe function aborts with an error.
> 
> Any idea how I I can fix the problem, ie how I can ensure that the GPIO
> mux probe function is only called after its parent I2C adapter is
> initialized ?
> 
Well, I assume your GPIO-Mux is registered as an GPIO device? Can't you
add it as an I2C-device? This way the right sequence should be kept.

HTH
-- 
Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to