public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2][repost] usb: bugfix driver/usb/host/ehci-hcd.c function ehci_submit_root
@ 2009-07-10 15:50 Prafulla Wadaskar
  2009-07-10 11:15 ` Michael Trimarchi
  2009-07-10 15:50 ` [U-Boot] [PATCH v6 2/2] Marvell Sheevaplug Board support Prafulla Wadaskar
  0 siblings, 2 replies; 12+ messages in thread
From: Prafulla Wadaskar @ 2009-07-10 15:50 UTC (permalink / raw)
  To: u-boot

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)) {
 	case DeviceRequest | USB_REQ_GET_DESCRIPTOR:
-- 
1.5.3.3

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-07-13  7:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox