phy: brcm-sata: Return proper error if brcm_sata_phy_init fails
authorAxel Lin <axel.lin@ingics.com>
Wed, 10 Aug 2016 10:04:44 +0000 (18:04 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 12 Aug 2016 09:29:10 +0000 (14:59 +0530)
commitbf8ca651e1f8f054b39b6b3b95d6f515c3c857d5
tree2e94acdf7caf4fa1778bf2982a2ea3950aa4a697
parent1766e7b3763a0707c2fda9689a7866dceed07b7a
phy: brcm-sata: Return proper error if brcm_sata_phy_init fails

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