Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: qcom-qmp-usb: clean up PHY init

Clean up the PHY initialisation somewhat by 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/20221028160435.26948-10-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Johan Hovold and committed by
Vinod Koul
876420fb 8fe2b2b7

+3 -5
+3 -5
drivers/phy/qualcomm/phy-qcom-qmp-usb.c
··· 2058 2058 2059 2059 /* Tx, Rx, and PCS configurations */ 2060 2060 qmp_usb_configure_lane(tx, cfg->tx_tbl, cfg->tx_tbl_num, 1); 2061 - 2062 - if (cfg->lanes >= 2) 2063 - qmp_usb_configure_lane(qmp->tx2, cfg->tx_tbl, cfg->tx_tbl_num, 2); 2064 - 2065 2061 qmp_usb_configure_lane(rx, cfg->rx_tbl, cfg->rx_tbl_num, 1); 2066 2062 2067 - if (cfg->lanes >= 2) 2063 + if (cfg->lanes >= 2) { 2064 + qmp_usb_configure_lane(qmp->tx2, cfg->tx_tbl, cfg->tx_tbl_num, 2); 2068 2065 qmp_usb_configure_lane(qmp->rx2, cfg->rx_tbl, cfg->rx_tbl_num, 2); 2066 + } 2069 2067 2070 2068 qmp_usb_configure(pcs, cfg->pcs_tbl, cfg->pcs_tbl_num); 2071 2069