[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-mainline-3.2 / beagle / 0011-default-to-fifo-mode-5-for-old-musb-beagles.patch
1 From 16c97b9941534b54a2fdf4d310fd22deb10d0cc1 Mon Sep 17 00:00:00 2001
2 From: Robert Nelson <robertcnelson@gmail.com>
3 Date: Sat, 8 Jan 2011 14:31:37 -0600
4 Subject: [PATCH 11/13] default to fifo mode 5, for old musb beagles
6 The fifo mode 4, 16kb can cause corruption on musb/omap35xx,
7 use mode 5, 8kb...
9 Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
10 ---
11 drivers/usb/musb/musb_core.c | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
14 diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
15 index 920f04e..66ce5e0 100644
16 --- a/drivers/usb/musb/musb_core.c
17 +++ b/drivers/usb/musb/musb_core.c
18 @@ -1015,7 +1015,7 @@ static void musb_shutdown(struct platform_device *pdev)
19 || defined(CONFIG_USB_MUSB_OMAP2PLUS_MODULE) \
20 || defined(CONFIG_USB_MUSB_AM35X) \
21 || defined(CONFIG_USB_MUSB_AM35X_MODULE)
22 -static ushort __initdata fifo_mode = 4;
23 +static ushort __initdata fifo_mode = 5;
24 #elif defined(CONFIG_USB_MUSB_UX500) \
25 || defined(CONFIG_USB_MUSB_UX500_MODULE)
26 static ushort __initdata fifo_mode = 5;
27 --
28 1.7.7.4