This is patch as436 from Alan Stern.

This patch increases the delay used for Genesys devices about 10%.  At
least one user reports that this created a significant improvement in
operation.

Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]>

===== drivers/usb/storage/transport.c 1.153 vs edited =====
--- 1.153/drivers/usb/storage/transport.c       2004-11-22 13:42:02 -05:00
+++ edited/drivers/usb/storage/transport.c      2004-12-15 16:25:40 -05:00
@@ -985,9 +985,10 @@
        /* send/receive data payload, if there is any */
 
        /* Genesys Logic interface chips need a 100us delay between the
-        * command phase and the data phase */
+        * command phase and the data phase.  Some devices need a little
+        * more than that, probably because of clock rate inaccuracies. */
        if (us->pusb_dev->descriptor.idVendor == USB_VENDOR_ID_GENESYS)
-               udelay(100);
+               udelay(110);
 
        if (transfer_length) {
                unsigned int pipe = srb->sc_data_direction == DMA_FROM_DEVICE ? 

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

We've made a business out of making money from annoying and stupid people.
I think you fall under that category.
                                        -- Chief
User Friendly, 7/11/1998

Attachment: pgpkMTrKbfQOp.pgp
Description: PGP signature

Reply via email to