linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using the gpio i2c multiplexer driver
@ 2011-02-15 22:47 Guenter Roeck
  2011-02-16  7:07 ` Michael Lawnick
  2011-02-16  8:13 ` Peter Korsgaard
  0 siblings, 2 replies; 6+ messages in thread
From: Guenter Roeck @ 2011-02-15 22:47 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA

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 ?

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-16 23:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-15 22:47 Using the gpio i2c multiplexer driver Guenter Roeck
2011-02-16  7:07 ` Michael Lawnick
     [not found]   ` <4D5B77AE.20307-Mmb7MZpHnFY@public.gmane.org>
2011-02-16 14:29     ` Guenter Roeck
2011-02-16  8:13 ` Peter Korsgaard
     [not found]   ` <87ei789z3g.fsf-uXGAPMMVk8amE9MCos8gUmSdvHPH+/yF@public.gmane.org>
2011-02-16 14:28     ` Guenter Roeck
2011-02-16 23:50     ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).