projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sata_via: restore vt*_prepare_host error handling
[profile/ivi/kernel-x86-ivi.git]
/
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);