]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[PATCH] sata_sil24: kill 10ms sleep in softreset
authorTejun Heo <htejun@gmail.com>
Tue, 11 Apr 2006 13:32:19 +0000 (22:32 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 11 Apr 2006 17:31:36 +0000 (13:31 -0400)
Nothing, not the datasheet nor the errats, says this delay is
necessary and with the previous PORT_CS_INIT change, we know the
controller is in good state.  Kill 10ms sleep.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/sata_sil24.c

index bfbd630a889ca5d6c72f8699a17be636a6b64e7b..be4817e6502bfd9573d95d06887adc40d67092dc 100644 (file)
@@ -480,12 +480,7 @@ static int sil24_softreset(struct ata_port *ap, unsigned int *class)
                goto err;
        }
 
-       /*
-        * XXX: Not sure whether the following sleep is needed or not.
-        * The original driver had it.  So....
-        */
-       msleep(10);
-
+       /* do SRST */
        prb->ctrl = PRB_CTRL_SRST;
        prb->fis[1] = 0; /* no PM yet */