diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2024-02-28 18:05:13 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-03-29 00:45:58 +0530 |
commit | e298ae7caafcc429e0fc4b3779f1738c0acc5dac (patch) | |
tree | d4a055d67c74bfe47e8fef4dfbf1701db380f6d0 /drivers/phy/qualcomm | |
parent | db83c107dc295a6d26727917dc62baa91a1bf989 (diff) |
phy: qcom: qmp-combo: fix duplicate return in qmp_v4_configure_dp_phy
Remove duplicate "return 0" in qmp_v4_configure_dp_phy()
Fixes: 186ad90aa49f ("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>
Diffstat (limited to 'drivers/phy/qualcomm')
-rw-r--r-- | drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c index 7d585a4bbbba..ea2d5369534d 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-combo.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-combo.c @@ -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]); return 0; - - return 0; } /* |