[PATCH] sata_sil24: kill 10ms sleep in softreset

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>
This commit is contained in:
Tejun Heo 2006-04-11 22:32:19 +09:00 committed by Jeff Garzik
parent 2555d6c268
commit 0eaa6058a6
1 changed files with 1 additions and 6 deletions

View 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 */