From: Michael Trimarchi <trimarchi@gandalf.sssup.it>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2][repost] usb: bugfix driver/usb/host/ehci-hcd.c function ehci_submit_root
Date: Fri, 10 Jul 2009 13:15:38 +0200 [thread overview]
Message-ID: <4A5722DA.6040509@gandalf.sssup.it> (raw)
In-Reply-To: <1247241040-21944-1-git-send-email-prafulla@marvell.com>
Hi,
cc: Remy Bohmer
Prafulla Wadaskar wrote:
> This patch is tested for USB host interface on Kirkwood based
> Sheevaplug platform (i.e arm little-endian machine)
>
> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
> ---
> drivers/usb/host/ehci-hcd.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
> index bbd547b..7a55638 100644
> --- a/drivers/usb/host/ehci-hcd.c
> +++ b/drivers/usb/host/ehci-hcd.c
> @@ -550,7 +550,7 @@ ehci_submit_root(struct usb_device *dev, unsigned long pipe, void *buffer,
> req->requesttype, req->requesttype,
> le16_to_cpu(req->value), le16_to_cpu(req->index));
>
> - typeReq = req->request << 8 | req->requesttype;
> + typeReq = req->request | req->requesttype << 8;
>
> switch (le16_to_cpu(typeReq)) {
>
Regards Michael
next prev parent reply other threads:[~2009-07-10 11:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-10 15:50 [U-Boot] [PATCH 1/2][repost] usb: bugfix driver/usb/host/ehci-hcd.c function ehci_submit_root Prafulla Wadaskar
2009-07-10 11:15 ` Michael Trimarchi [this message]
2009-07-11 9:39 ` Remy Bohmer
2009-07-11 13:24 ` Michael Trimarchi
2009-07-10 15:50 ` [U-Boot] [PATCH v6 2/2] Marvell Sheevaplug Board support Prafulla Wadaskar
2009-07-12 12:51 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 14:37 ` Wolfgang Denk
2009-07-12 15:15 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-12 15:54 ` Wolfgang Denk
2009-07-12 16:07 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-13 6:06 ` Prafulla Wadaskar
2009-07-13 7:54 ` Stefan Roese
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=4A5722DA.6040509@gandalf.sssup.it \
--to=trimarchi@gandalf.sssup.it \
--cc=u-boot@lists.denx.de \
/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