phy: qcom-qmp-pcie: clean up PHY lane init
authorJohan Hovold <johan+linaro@kernel.org>
Sat, 5 Nov 2022 14:59:30 +0000 (15:59 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 10 Nov 2022 07:04:54 +0000 (12:34 +0530)
commitf8b641146484b6be33c291fa8279ffe423e169d9
tree92a5b20469826159434ae28edc6981777975f94a
parent63bf101ae1912570260912087bfd7b1cf420c3dc
phy: qcom-qmp-pcie: clean up PHY lane init

Clean up the PHY lane initialisation somewhat by adding further
temporary variables and programming both tx and rx for the second lane
after the first lane.

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