git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libata: only ports >= 0 need to synchronize
[safe/jmp/linux-2.6]
/
drivers
/
ata
/
sata_via.c
diff --git
a/drivers/ata/sata_via.c
b/drivers/ata/sata_via.c
index
62367fe
..
c18935f
100644
(file)
--- a/
drivers/ata/sata_via.c
+++ b/
drivers/ata/sata_via.c
@@
-602,8
+602,10
@@
static int svia_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
rc = vt8251_prepare_host(pdev, &host);
break;
default:
- r
eturn
-EINVAL;
+ r
c =
-EINVAL;
}
+ if (rc)
+ return rc;
svia_configure(pdev);