projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "ata: ahci: mvebu: Make SATA PHY optional for Armada 3720"
[linux-2.6-microblaze.git]
/
drivers
/
ata
/
libahci_platform.c
diff --git
a/drivers/ata/libahci_platform.c
b/drivers/ata/libahci_platform.c
index
1829644
..
b26755b
100644
(file)
--- a/
drivers/ata/libahci_platform.c
+++ b/
drivers/ata/libahci_platform.c
@@
-59,7
+59,7
@@
int ahci_platform_enable_phys(struct ahci_host_priv *hpriv)
}
rc = phy_power_on(hpriv->phys[i]);
- if (rc
&& !(rc == -EOPNOTSUPP && (hpriv->flags & AHCI_HFLAG_IGN_NOTSUPP_POWER_ON))
) {
+ if (rc) {
phy_exit(hpriv->phys[i]);
goto disable_phys;
}