[PATCH 1/6] i2c: bcm-kona: register with subsys_initcall

From
Alan Stern <stern@rowland.harvard.edu>
Date
2014-02-05 15:30:33
Also in
linux-devicetree, linux-i2c, lkml
Reply to
Matt Porter, 2014-02-05
On Wed, 5 Feb 2014, Matt Porter wrote:
On Wed, Feb 05, 2014 at 10:08:18AM +0100, Wolfram Sang wrote:
quoted
On Tue, Feb 04, 2014 at 07:19:07AM -0500, Matt Porter wrote:
quoted
Voltage regulators are needed very early due to deferred probe
being incompatible with built-in USB gadget drivers.
What does it need to fix those instead?
[added Alan/Felipe for more insight]

Discussion on that topic came about from this submission:
http://www.spinics.net/lists/linux-usb/msg94217.html

End of it is:
http://www.spinics.net/lists/linux-usb/msg94731.html

We can either add to the many drivers that already do subsys_initcall()
for similar reasons...or I can drop this from the series and add gadget
probe ordering to my TODO list.

In short, it can't be a late_initcall() hack like the original post and
really could be solved by converting to a real bus (and letting
deferred probe do its job)..but Alan voiced concerns about that.
Don't worry too much about what I said.  If adding a "gadget" bus will 
solve the problem in an appropriate way, and if nobody else objects 
(particularly Felipe, who is on vacation now), then go for it.

Alan Stern
Thread (27 messages) 27 messages, 5 authors, last reply 2014-02-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help