Re: [PATCH 1/2 v2] usb: Remove ehci_reset call from ehci_run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 1 Dec 2011, Geoff Levand wrote:

> Remove the ehci_reset() call done in the ehci_run() routine of the
> USB EHCI host controller driver and add an ehci_reset() call to the
> probe processing of all EHCI platform drivers that do not already
> call ehci_reset().
> 
> The call to ehci_reset() from ehci_run() was problematic for several
> platform drivers and unnecessary for others.  This change moves the
> decision of a call ehci_reset() at driver startup to the platform
> driver code.
> 
> Signed-off-by: Geoff Levand <geoff@xxxxxxxxxxxxx>
> ---
> 
> On Fri, 2011-11-25 at 10:52 -0500, Alan Stern wrote:
> > Let's see...  You missed ehci-octeon.c.  Also, the change to 
> > ehci-au1xxx.c is correct but in all the other platform drivers, you 
> > added the call to ehci_reset() in the wrong place.  The call must be 
> > made either in the probe routine _before_ the call to usb_add_hcd() or 
> > else in the reset routine (which many of the drivers call *_setup).
> > 
> > But you're definitely heading in the right direction.  :-)
> 
> We're committed over here!  Reviews/checks appreciated.

This looks good.

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux