Merge "ufs: phy: Defer phy_init if phy is not probed"

This commit is contained in:
QCTECMDR Service 2024-09-29 04:49:56 -07:00 committed by Gerrit - the friendly Code Review server
commit a645196d92

View file

@ -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;