phy: qcom-ufs: Fix misplaced jump label

We want to skip only tx/rx_iface clocks and not ref_clk_src
as well. Fix the jump label accordingly.

Fixes: 300f96771d ("phy: qcom-ufs: Skip obtaining rx/tx_iface_clk for msm8996 based phy")

Cc: Subhash Jadavani <[email protected]>
Cc: Martin K. Petersen <[email protected]>
Cc: Kishon Vijay Abraham I <[email protected]>
Cc: [email protected]
Signed-off-by: Vivek Gautam <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
This commit is contained in:
Vivek Gautam 2017-01-27 13:40:19 +05:30 • committed by Kishon Vijay Abraham I
commit 0b10f64dbe

View file

@ -189,12 +189,12 @@ int ufs_qcom_phy_init_clks(struct ufs_qcom_phy *phy_common)
if (err)
goto out;
skip_txrx_clk:
err = ufs_qcom_phy_clk_get(phy_common->dev, "ref_clk_src",
&phy_common->ref_clk_src);
if (err)
goto out;
skip_txrx_clk:
/*
* "ref_clk_parent" is optional hence don't abort init if it's not
* found.