[PATCH] ehci-hcd.c: handle EHCI_HAS_TT in ehci_reset() during startup
Sascha Hauer
s.hauer at pengutronix.de
Mon Sep 19 05:23:45 EDT 2011
On Fri, Sep 16, 2011 at 10:04:57AM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
Applied to next.
Sascha
> ---
> drivers/usb/host/ehci-hcd.c | 5 +----
> 1 files changed, 1 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
> index 60fc181..bc180af 100644
> --- a/drivers/usb/host/ehci-hcd.c
> +++ b/drivers/usb/host/ehci-hcd.c
> @@ -922,10 +922,7 @@ static int ehci_probe(struct device_d *dev)
> host->submit_bulk_msg = submit_bulk_msg;
>
> if (ehci->flags & EHCI_HAS_TT) {
> - /* Set to host mode */
> - reg = ehci_readl(ehci->hcor + USBMODE);
> - reg |= USBMODE_CM_HC;
> - writel(reg, ehci->hcor + USBMODE);
> + ehci_reset(ehci);
> }
>
> usb_register_host(host);
> --
> 1.7.5.4
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list