Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf8ca651 authored by Axel Lin's avatar Axel Lin Committed by Kishon Vijay Abraham I
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent 1766e7b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = {