[oe-commits] Robert Nelson : linux-omap 2.6.29: fix FIFO issues with large transfers on the MUSB controller
git version control
git at git.openembedded.org
Sun Nov 8 16:28:13 UTC 2009
Module: openembedded.git
Branch: shr/merge
Commit: 6f0e47264d01494bdf74368acc6330537f6361c7
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6f0e47264d01494bdf74368acc6330537f6361c7
Author: Robert Nelson <robert.nelson at digikey.com>
Date: Thu Nov 5 12:49:22 2009 +0100
linux-omap 2.6.29: fix FIFO issues with large transfers on the MUSB controller
---
.../linux-omap-2.6.29/musb/0030-musb-fifo.patch | 26 ++++++++++++++++++++
recipes/linux/linux-omap_2.6.29.bb | 1 +
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/recipes/linux/linux-omap-2.6.29/musb/0030-musb-fifo.patch b/recipes/linux/linux-omap-2.6.29/musb/0030-musb-fifo.patch
new file mode 100644
index 0000000..8ac3707
--- /dev/null
+++ b/recipes/linux/linux-omap-2.6.29/musb/0030-musb-fifo.patch
@@ -0,0 +1,26 @@
+diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
+index d3b8e0e..cee974e 100644
+--- a/drivers/usb/musb/musb_core.c
++++ b/drivers/usb/musb/musb_core.c
+@@ -1103,15 +1103,12 @@ static struct fifo_cfg __initdata mode_4_cfg[] = {
+ { .hw_ep_num = 8, .style = FIFO_RX, .maxpacket = 512, },
+ { .hw_ep_num = 9, .style = FIFO_TX, .maxpacket = 512, },
+ { .hw_ep_num = 9, .style = FIFO_RX, .maxpacket = 512, },
+-{ .hw_ep_num = 10, .style = FIFO_TX, .maxpacket = 256, },
+-{ .hw_ep_num = 10, .style = FIFO_RX, .maxpacket = 64, },
+-{ .hw_ep_num = 11, .style = FIFO_TX, .maxpacket = 256, },
+-{ .hw_ep_num = 11, .style = FIFO_RX, .maxpacket = 64, },
+-{ .hw_ep_num = 12, .style = FIFO_TX, .maxpacket = 256, },
+-{ .hw_ep_num = 12, .style = FIFO_RX, .maxpacket = 64, },
+-{ .hw_ep_num = 13, .style = FIFO_RXTX, .maxpacket = 4096, },
+-{ .hw_ep_num = 14, .style = FIFO_RXTX, .maxpacket = 1024, },
+-{ .hw_ep_num = 15, .style = FIFO_RXTX, .maxpacket = 1024, },
++{ .hw_ep_num = 10, .style = FIFO_TX, .maxpacket = 512, },
++{ .hw_ep_num = 10, .style = FIFO_RX, .maxpacket = 512, },
++{ .hw_ep_num = 11, .style = FIFO_RXTX, .maxpacket = 512, },
++{ .hw_ep_num = 12, .style = FIFO_RXTX, .maxpacket = 4096,},
++{ .hw_ep_num = 13, .style = FIFO_RXTX, .maxpacket = 512, },
++{ .hw_ep_num = 14, .style = FIFO_RXTX, .maxpacket = 512, },
+ };
+
+
diff --git a/recipes/linux/linux-omap_2.6.29.bb b/recipes/linux/linux-omap_2.6.29.bb
index 130f9a8..6996416 100644
--- a/recipes/linux/linux-omap_2.6.29.bb
+++ b/recipes/linux/linux-omap_2.6.29.bb
@@ -131,6 +131,7 @@ SRC_URI_append = " \
file://musb/0027-musb-otg-timer-cleanup.patch;patch=1 \
file://musb/0028-musb-make-initial-HNP-roleswitch-work-v2.patch;patch=1 \
file://musb/0029-musb-support-disconnect-after-HNP-roleswitch.patch;patch=1 \
+ file://musb/0030-musb-fifo.patch;patch=1 \
file://isp/v4l/0001-V4L2-Add-COLORFX-user-control.patch;patch=1 \
file://isp/v4l/0002-V4L-Int-if-v4l2_int_device_try_attach_all-requires.patch;patch=1 \
file://isp/v4l/0003-V4L-Int-if-Dummy-slave.patch;patch=1 \
More information about the Openembedded-commits
mailing list