Merge "ufs: phy: Defer phy_init if phy is not probed"
This commit is contained in:
commit
a645196d92
1 changed files with 6 additions and 0 deletions
|
|
@ -240,6 +240,12 @@ int ufs_qcom_phy_init_clks(struct ufs_qcom_phy *phy_common)
|
|||
{
|
||||
int err;
|
||||
|
||||
if (!phy_common) {
|
||||
pr_err("%s: Defering the probe: Failed to get the required phy handle!!\n",
|
||||
__func__);
|
||||
return -EPROBE_DEFER;
|
||||
}
|
||||
|
||||
if (of_device_is_compatible(phy_common->dev->of_node,
|
||||
"qcom,msm8996-ufs-phy-qmp-14nm"))
|
||||
goto skip_txrx_clk;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue