projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1766e7b
)
phy: brcm-sata: Return proper error if brcm_sata_phy_init fails
author
Axel Lin
<axel.lin@ingics.com>
Wed, 10 Aug 2016 10:04:44 +0000
(18:04 +0800)
committer
Kishon Vijay Abraham I
<kishon@ti.com>
Fri, 12 Aug 2016 09:29:10 +0000
(14:59 +0530)
Return proper error instead of 0 if brcm_sata_phy_init fails.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-brcm-sata.c
patch
|
blob
|
history
diff --git
a/drivers/phy/phy-brcm-sata.c
b/drivers/phy/phy-brcm-sata.c
index 18d662610075b3e312bb6e5e8fccb51020a2f13d..8ffc44afdb75baaceab39801b811d3c3314604e6 100644
(file)
--- a/
drivers/phy/phy-brcm-sata.c
+++ b/
drivers/phy/phy-brcm-sata.c
@@
-367,7
+367,7
@@
static int brcm_sata_phy_init(struct phy *phy)
rc = -ENODEV;
};
- return
0
;
+ return
rc
;
}
static const struct phy_ops phy_ops = {