[U-Boot] [PATCH] usb: Clear CMD_RUN while issuing CMD_RESET in ehci_reset()

Remy Bohmer linux at bohmer.net
Fri Nov 26 21:24:06 CET 2010


Hi,

2010/11/26 Stefan Roese <sr at denx.de>:
> This patch fixes a problem noticed on lwmon5 (PPC440EPx) using the
> common EHCI driver, when "usb reset" is issued multiple times.
> Upon the 2nd (and further) "usb reset" command, the command fails
> with the following messages:
>
> => usb reset
> (Re)start USB...
> USB:   Register 1111 NbrPorts 1
> USB EHCI 1.00
> scanning bus for devices... 5 USB Device(s) found
>       scanning bus for storage devices... 2 Storage Device(s) found
> => usb reset
> (Re)start USB...
> USB:   EHCI fail to reset
> Error, couldn't init Lowlevel part
>
> This patch fixes this problem. Now "usb reset" can be called multiple
> times.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Remy Bohmer <linux at bohmer.net>
> ---
>  drivers/usb/host/ehci-hcd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied to u-boot-usb. Thanks.

Kind regards,

Remy


More information about the U-Boot mailing list