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

Commit 2f9cd106 authored by Can Guo's avatar Can Guo
Browse files

phy: ufs: Return error if UFS PHY reset control is not provided on RUMI



On RUMI, UFS PHY reset control provided from UFS host controller is not
optional, return error if it is not provided.

Change-Id: I15faa41b8e251abb773bc28b686c28a41574d229
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 1264c046
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ static int ufs_qcom_phy_qrbtc_sdm845_init(struct phy *generic_phy)
	if (ret)
		dev_err(phy_common->dev, "Failed to get reset control\n", ret);

	return 0;
	return ret;
}

static int ufs_qcom_phy_qrbtc_sdm845_exit(struct phy *generic_phy)