phy: rockchip: usbdp-phy: fix the swing and pre-emphasis lane set

According the dp lane mapping, set the swing and pre-emphasis
to phy lane.

Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I77bec31a8a7b026db7e799991157114273ab0d4c
This commit is contained in:
Zhang Yubing
2021-11-14 10:54:27 +08:00
committed by Tao Huang
parent 266df05c62
commit 3fb391ad45

View File

@@ -1261,8 +1261,8 @@ static int rk3588_dp_phy_set_voltages(struct rockchip_udphy *udphy,
break;
}
rk3588_dp_phy_set_voltage(udphy, dp->voltage[lane],
dp->pre[lane], lane);
rk3588_dp_phy_set_voltage(udphy, dp->voltage[i],
dp->pre[i], lane);
}
return 0;