Skip to content

Commit e298ae7

Browse files
superna9999vinodkoul
authored andcommitted
phy: qcom: qmp-combo: fix duplicate return in qmp_v4_configure_dp_phy
Remove duplicate "return 0" in qmp_v4_configure_dp_phy() Fixes: 186ad90 ("phy: qcom: qmp-combo: reuse register layouts for even more registers") Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Link: https://lore.kernel.org/r/20240228-topic-sm8x50-upstream-phy-combo-fix-duplicate-return-v1-1-60027a37cab1@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent db83c10 commit e298ae7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/phy/qualcomm/phy-qcom-qmp-combo.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,8 +2431,6 @@ static int qmp_v4_configure_dp_phy(struct qmp_combo *qmp)
24312431
writel(0x20, qmp->dp_tx2 + cfg->regs[QPHY_TX_TX_EMP_POST1_LVL]);
24322432

24332433
return 0;
2434-
2435-
return 0;
24362434
}
24372435

24382436
/*

0 commit comments

Comments
 (0)