]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] Fix GO_SLOW delay
authorPhil Dibowitz <phil@ipom.com>
Tue, 19 Apr 2005 00:39:27 +0000 (17:39 -0700)
committerGreg K-H <gregkh@suse.de>
Tue, 19 Apr 2005 00:39:27 +0000 (17:39 -0700)
This patch changes the delay for the US_FL_GO_SLOW patch from 110us to 125.
Some delays need this extra delay includign Jan De Luyck's drive which spawned
the original increase from 110 to 110us. 125 is a microframe, so this delay
seems to make sense more than just be a random delay (thanks to David Brownell
for pointing that out after my original patch).

Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Index: gregkh-2.6/drivers/usb/storage/transport.c
===================================================================

drivers/usb/storage/transport.c

index d2c3d2fa082e927419076bc28943b004a8e9917a..9743e289cd3b1d68b49aba1298ad79fb2cfe5c3c 100644 (file)
@@ -996,7 +996,7 @@ int usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us)
         * command phase and the data phase.  Some devices need a little
         * more than that, probably because of clock rate inaccuracies. */
        if (unlikely(us->flags & US_FL_GO_SLOW))
-               udelay(110);
+               udelay(125);
 
        if (transfer_length) {
                unsigned int pipe = srb->sc_data_direction == DMA_FROM_DEVICE ?