Device probe order (i2c regulator vs. platform device)

Andy Green andy at warmcat.com
Wed Mar 24 10:38:31 EDT 2010


On 03/24/10 14:01, Somebody in the thread at some point said:

>>> The only system I'm aware of which had any stuff like this was the
>>> GTA02.  I never investigated to figure out why the code there was doing
>>> what it was.
>
>> I wouldn't be so quick to assert that, you do not know all the code
>> out there in order to tell.
>
> I really am very sure that nobody has ever reported any issues here -

There's plenty of out-of-tree code.  I'm not trying to blame you for 
something, just it's too strong to say there's no problem here because 
you personally didn't see it in your neck of the woods (especially when 
I spent many weeks fighting exactly that on GTA02).

There problem's generic -->

> Until we have real systems we can look at I'm not really sure it's worth
> worrying about since there's a risk of desigining something that doesn't
> fit well with what people actually need, and there's always the chance
> that something like the device layer will solve the problem before
> anyone notices.

No I agree after both Marek's and your discussion (and remembering the 
other races I had seen), the problem is bigger than regulator API and 
the device layer would be the right place.

You're right someone needs to bring it up elsewhere.

-Andy



More information about the linux-arm-kernel mailing list