summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-2.6.27/boc01/001-090114-sqn11x0-usb-hack.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/linux/linux-2.6.27/boc01/001-090114-sqn11x0-usb-hack.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/linux-2.6.27/boc01/001-090114-sqn11x0-usb-hack.patch')
-rw-r--r--recipes/linux/linux-2.6.27/boc01/001-090114-sqn11x0-usb-hack.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.27/boc01/001-090114-sqn11x0-usb-hack.patch b/recipes/linux/linux-2.6.27/boc01/001-090114-sqn11x0-usb-hack.patch
new file mode 100644
index 0000000000..4bd44e25db
--- /dev/null
+++ b/recipes/linux/linux-2.6.27/boc01/001-090114-sqn11x0-usb-hack.patch
@@ -0,0 +1,17 @@
+diff -ur linux-2.6.27.orig/drivers/usb/host/ehci-q.c linux-2.6.27/drivers/usb/host/ehci-q.c
+--- linux-2.6.27.orig/drivers/usb/host/ehci-q.c 2008-10-10 00:13:53.000000000 +0200
++++ linux-2.6.27/drivers/usb/host/ehci-q.c 2009-01-06 18:31:38.000000000 +0100
+@@ -799,7 +799,12 @@
+ * to help them do so. So now people expect to use
+ * such nonconformant devices with Linux too; sigh.
+ */
+- info1 |= max_packet(maxp) << 16;
++ struct usb_device_descriptor *desc = &urb->dev->descriptor;
++ if (desc->idVendor == cpu_to_le16(0x148e) && desc->idProduct == cpu_to_le16(0x0900)) {
++ info1 |= 256 << 16;
++ } else {
++ info1 |= max_packet(maxp) << 16;
++ }
+ info2 |= (EHCI_TUNE_MULT_HS << 30);
+ } else { /* PIPE_INTERRUPT */
+ info1 |= max_packet (maxp) << 16;