提交 68ff6e8e 编写于 作者: J Jeff Garzik

[libata] sata_via: fix obvious typo

Spotted by Martin Devera.
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 80c21881
...@@ -230,7 +230,7 @@ static int vt6420_prereset(struct ata_port *ap) ...@@ -230,7 +230,7 @@ static int vt6420_prereset(struct ata_port *ap)
int online; int online;
/* don't do any SCR stuff if we're not loading */ /* don't do any SCR stuff if we're not loading */
if (!ATA_PFLAG_LOADING) if (!(ap->pflags & ATA_PFLAG_LOADING))
goto skip_scr; goto skip_scr;
/* Resume phy. This is the old resume sequence from /* Resume phy. This is the old resume sequence from
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册