[SCSI] stex: change wait loop code
authorEd Lin <ed.lin@promise.com>
Tue, 5 Dec 2006 01:49:42 +0000 (17:49 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 5 Dec 2006 17:33:38 +0000 (11:33 -0600)
commit76fbf96f82636c8cdc40485506c50c880fd45a56
treedb77fbcf17433f041fabdcbbaa52336c0eccf0be
parent94e9108b5ad8da9c02ebf5183b861f1717409555
[SCSI] stex: change wait loop code

The original wait loop may be much longer than intended time.
Use more accurate timer_after for it. Also adjust wait value to
avoid unnecessary long waiting.

Signed-off-by: Ed Lin <ed.lin@promise.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/stex.c