From: Jeff Garzik Date: Wed, 8 Nov 2006 12:46:02 +0000 (-0500) Subject: [libata] sata_via: fix obvious typo X-Git-Tag: v2.6.19-rc6~70^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=68ff6e8e0e203580ecb118319b5a3b53962edf5a;p=~shefty%2Frdma-dev.git [libata] sata_via: fix obvious typo Spotted by Martin Devera. Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index f4455a1efe2..1c7f19aecc2 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c @@ -230,7 +230,7 @@ static int vt6420_prereset(struct ata_port *ap) int online; /* don't do any SCR stuff if we're not loading */ - if (!ATA_PFLAG_LOADING) + if (!(ap->pflags & ATA_PFLAG_LOADING)) goto skip_scr; /* Resume phy. This is the old resume sequence from