Skip to content

Commit

Permalink
[PATCH] sata_sil24: kill 10ms sleep in softreset
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Apr 11, 2006
1 parent 2555d6c commit 0eaa605
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/scsi/sata_sil24.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 0eaa605

Please sign in to comment.