[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1308161625520.1532-100000@iolanthe.rowland.org>
Date: Fri, 16 Aug 2013 16:39:47 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Mark Brown <broonie@...nel.org>
cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <rob.herring@...xeda.com>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Stephen Warren <swarren@...dotorg.org>,
Ian Campbell <ian.campbell@...rix.com>,
Felipe Balbi <balbi@...com>,
Grant Likely <grant.likely@...aro.org>,
<devicetree@...r.kernel.org>, <linux-usb@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: Non-enumerable devices on USB and other enumerable buses
On Fri, 16 Aug 2013, Mark Brown wrote:
> On Fri, Aug 16, 2013 at 03:27:58PM -0400, Alan Stern wrote:
> > On Fri, 16 Aug 2013, Mark Brown wrote:
>
> > > or those for getting platform data to a device when it
> > > does enumerate.
>
> > ? I can't make any sense out of that comment. For one thing, why do
> > you need to send platform data to a device? (It's obvious that a
> > _driver_ would need to use platform data; it's not so clear that a
> > _device_ would.)
>
> The device in this context is a running instance of the driver.
It's kind of difficult to understand what you're saying. Obviously the
literal meaning is not what you had in mind, because a device can't be
a driver (or even a running instance of a driver). Maybe you meant
that the word "device" above should have been the word "driver".
So you seem to be saying that significant modifications would be needed
to get platform information to the driver. I don't see why. Lots and
lots of drivers use platform information right now.
Besides, you need to get the platform information to the driver in any
case, no matter how you decide to solve the chicken-and-egg problem.
It shouldn't be a factor in deciding which solution to use.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists