mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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: Can Guo <[email protected]>
This commit is contained in:
parent
1264c046de
commit
2f9cd106e6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue