Re: Finding 'orphaned' i2c drivers

Mark Brown
2009-02-23T15:04:24Z

On Mon, Feb 23, 2009 at 03:51:42PM +0100, Daniel Mack wrote:

> The question is: how do I access this instance at a later point? Without
> messing around with static pointers, of course.

You're going to need to do something which is specific to your
application - it's not a problem for the I2C layer, all it's doing is
providing the lower level bus access for the device. The upper level
API offered by your driver is something that depends on what services
your driver is implementing.

As I said in my previous e-mail you should probably either register with
ASoC core and get at the device that way or do something like what the
neo1973 driver is doing in your machine driver.