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

Commit d52c4e89 authored by Yaniv Gardi's avatar Yaniv Gardi
Browse files

scsi: ufs-msm-phy: fix false error message



This change fixes error message that falsely was printed out
unconditionally.
A fix condition is now added.

Change-Id: I8d70d7f27c7dc122ecda64bea1a51f0044047e5b
Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent 0b30cba9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -530,6 +530,7 @@ int ufs_msm_phy_calibrate_phy(struct phy *generic_phy)
	} else {
		ret = ufs_msm_phy->phy_spec_ops->
				calibrate_phy(ufs_msm_phy);
		if (ret)
			dev_err(ufs_msm_phy->dev, "%s: calibrate_phy() failed %d\n",
				__func__, ret);
	}