This is a note to let you know that I've just added the patch titled
usb: host: mips: sead3: Fix for big endian.
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also will be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From fdf6e6390a567963e302a62ef676dd648d11661c Mon Sep 17 00:00:00 2001
From: "Steven J. Hill" <[email protected]>
Date: Fri, 11 May 2012 11:40:25 -0500
Subject: usb: host: mips: sead3: Fix for big endian.
Fix driver to work properly in big endian mode.
Signed-off-by: Steven J. Hill <[email protected]>
Acked-by: Alan Stern <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/usb/host/ehci-sead3.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/host/ehci-sead3.c b/drivers/usb/host/ehci-sead3.c
index 4c16430..cc199e8 100644
--- a/drivers/usb/host/ehci-sead3.c
+++ b/drivers/usb/host/ehci-sead3.c
@@ -28,17 +28,17 @@ static int ehci_sead3_setup(struct usb_hcd *hcd)
ehci->caps = hcd->regs + 0x100;
+#ifdef __BIG_ENDIAN
+ ehci->big_endian_mmio = 1;
+ ehci->big_endian_desc = 1;
+#endif
+
ret = ehci_setup(hcd);
if (ret)
return ret;
ehci->need_io_watchdog = 0;
-#ifdef __BIG_ENDIAN
- ehci->big_endian_mmio = 1;
- ehci->big_endian_desc = 1;
-#endif
-
/* Set burst length to 16 words. */
ehci_writel(ehci, 0x1010, &ehci->regs->reserved[1]);
--
1.7.10.1.362.g242cab3
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html