From: Sascha Hauer <s.hauer@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ehci-hcd.c: handle EHCI_HAS_TT in ehci_reset() during startup
Date: Mon, 19 Sep 2011 11:23:45 +0200 [thread overview]
Message-ID: <20110919092345.GI31404@pengutronix.de> (raw)
In-Reply-To: <1316153097-26362-1-git-send-email-antonynpavlov@gmail.com>
On Fri, Sep 16, 2011 at 10:04:57AM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@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@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
next prev parent reply other threads:[~2011-09-19 9:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-16 6:04 Antony Pavlov
2011-09-19 9:23 ` Sascha Hauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-09-12 10:26 Antony Pavlov
2011-09-13 7:34 ` Sascha Hauer
2011-09-13 12:14 ` Antony Pavlov
2011-09-13 17:04 ` Antony Pavlov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110919092345.GI31404@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox