提交 0eaa6058 编写于 作者: T Tejun Heo 提交者: Jeff Garzik

[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: NTejun Heo <htejun@gmail.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 2555d6c2
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册