From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1R5a4p-0007If-Gz for barebox@lists.infradead.org; Mon, 19 Sep 2011 09:23:50 +0000 Date: Mon, 19 Sep 2011 11:23:45 +0200 From: Sascha Hauer Message-ID: <20110919092345.GI31404@pengutronix.de> References: <1316153097-26362-1-git-send-email-antonynpavlov@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1316153097-26362-1-git-send-email-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] ehci-hcd.c: handle EHCI_HAS_TT in ehci_reset() during startup To: Antony Pavlov Cc: barebox@lists.infradead.org On Fri, Sep 16, 2011 at 10:04:57AM +0400, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov 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@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 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox