phy: qcom-qmp-combo: clean up serdes initialisation
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 14 Nov 2022 11:06:10 +0000 (12:06 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:16:52 +0000 (22:46 +0530)
commitdae95d7f667d20ab81976f846ed0bf2c71dbfe18
tree7c439b875b1c710ecc9810b044959eabc62c09fd
parent3ade3ede57a0093da3b432ecceda36386d13a5e5
phy: qcom-qmp-combo: clean up serdes initialisation

Clean up serdes initialisation somewhat by making the current helper a
dedicated helper for the DP part of the PHY.

Note that no error is currently returned for non-supported link rates.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221114110621.4639-12-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c