]> Pileus Git - ~andy/linux/commit
[SCSI] arcmsr: Fix hardware wait loops
authorJeff Garzik <jeff@garzik.org>
Fri, 27 Jul 2007 17:00:48 +0000 (13:00 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:50:48 +0000 (14:50 -0400)
commit24430458bb924e371ff894e26bfa9f73707f53fb
treea2daedb710c7f41a80efd33be16412bef719d91b
parent095862ab982a56fb4ea237420bb8fcf1393ca287
[SCSI] arcmsr: Fix hardware wait loops

Remove _interruptible, since receiving a signal while waiting on a
hardware condition will simply cause the driver to busy-wait.

Using msleep_interruptible() is rarely the right thing to do, when
waiting on a hardware condition to change.

Also, replace msleep with ssleep while doing this, where appropriate.

[jejb: fix up merge conflict]

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Acked-by: Nick Cheng <nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/arcmsr/arcmsr_hba.c