[PATCH v2] usb: ehci-orion: add more constants for register values
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Mar 19 14:06:06 PDT 2015
Alan,
On Thu, 19 Mar 2015 16:30:09 -0400 (EDT), Alan Stern wrote:
> On Thu, 19 Mar 2015, Thomas Petazzoni wrote:
>
> > These are indeed all valid concerns. However, as you can see, those
> > concerns are completely orthogonal to the patch: the original code
> > already has those issues.
>
> Quite true. You may add
>
> Acked-by: Alan Stern <stern at rowland.harvard.edu>
Thanks. So I presume this means Greg will take the patch?
> > Regarding the addition of a timeout, I unfortunately have absolutely no
> > idea what would be the a proper timeout value at this place. I quickly
> > glanced through
> > http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/ehci-specification-for-usb.pdf
> > for the documentation of this reset bit, but couldn't spot a maximum
> > accepted duration for the operation.
>
> ehci-hcd uses 250 ms. This seems to be an arbitrary value, but at
> least it's better than hanging the system.
Ok, then I'll cook a patch to adjust this aspect of the driver.
Thanks for the suggestion,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the linux-arm-kernel
mailing list