diff options
author | Koen Kooi <koen@openembedded.org> | 2009-04-01 19:25:55 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-04-01 19:25:55 +0200 |
commit | 612eb226eeea183816c3f777c66e5676f77b75f8 (patch) | |
tree | c08023b1ca06dd796b6730f5184251ffbc0500a5 /recipes/linux/linux-2.6.29/boc01/001-090114-sqn11x0-usb-hack.patch | |
parent | f2b643f923ed0ce1707b84676a2ecadf7e27cfc2 (diff) | |
parent | d323bccf4de598e47ec193058f2a5a8dac9b0d31 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/linux/linux-2.6.29/boc01/001-090114-sqn11x0-usb-hack.patch')
-rw-r--r-- | recipes/linux/linux-2.6.29/boc01/001-090114-sqn11x0-usb-hack.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.29/boc01/001-090114-sqn11x0-usb-hack.patch b/recipes/linux/linux-2.6.29/boc01/001-090114-sqn11x0-usb-hack.patch new file mode 100644 index 0000000000..4bd44e25db --- /dev/null +++ b/recipes/linux/linux-2.6.29/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; |