Commit e298ae7c authored by Neil Armstrong's avatar Neil Armstrong Committed by Vinod Koul

phy: qcom: qmp-combo: fix duplicate return in qmp_v4_configure_dp_phy

Remove duplicate "return 0" in qmp_v4_configure_dp_phy()

Fixes: 186ad90a ("phy: qcom: qmp-combo: reuse register layouts for even more registers")
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: default avatarAbhinav Kumar <quic_abhinavk@quicinc.com>
Link: https://lore.kernel.org/r/20240228-topic-sm8x50-upstream-phy-combo-fix-duplicate-return-v1-1-60027a37cab1@linaro.orgSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent db83c107
...@@ -2431,8 +2431,6 @@ static int qmp_v4_configure_dp_phy(struct qmp_combo *qmp) ...@@ -2431,8 +2431,6 @@ static int qmp_v4_configure_dp_phy(struct qmp_combo *qmp)
writel(0x20, qmp->dp_tx2 + cfg->regs[QPHY_TX_TX_EMP_POST1_LVL]); writel(0x20, qmp->dp_tx2 + cfg->regs[QPHY_TX_TX_EMP_POST1_LVL]);
return 0; return 0;
return 0;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment