diff options
author | Phil Dibowitz <phil@ipom.com> | 2005-04-18 20:39:27 -0400 |
---|---|---|
committer | Greg K-H <gregkh@suse.de> | 2005-04-18 20:39:27 -0400 |
commit | e4334fa4c5cb62f26d7e9a0a581126bcbe0dedcf (patch) | |
tree | 8074a02b6cae345756b15497ffe3471088446bb6 /drivers/usb | |
parent | 403a98176a5866217eb12ca6bb283e635ced2dd0 (diff) |
[PATCH] Fix GO_SLOW delay
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
===================================================================
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/storage/transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c index d2c3d2fa082e..9743e289cd3b 100644 --- a/drivers/usb/storage/transport.c +++ b/drivers/usb/storage/transport.c | |||
@@ -996,7 +996,7 @@ int usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us) | |||
996 | * command phase and the data phase. Some devices need a little | 996 | * command phase and the data phase. Some devices need a little |
997 | * more than that, probably because of clock rate inaccuracies. */ | 997 | * more than that, probably because of clock rate inaccuracies. */ |
998 | if (unlikely(us->flags & US_FL_GO_SLOW)) | 998 | if (unlikely(us->flags & US_FL_GO_SLOW)) |
999 | udelay(110); | 999 | udelay(125); |
1000 | 1000 | ||
1001 | if (transfer_length) { | 1001 | if (transfer_length) { |
1002 | unsigned int pipe = srb->sc_data_direction == DMA_FROM_DEVICE ? | 1002 | unsigned int pipe = srb->sc_data_direction == DMA_FROM_DEVICE ? |