Commit 28dc672a authored by Andy Yan's avatar Andy Yan Committed by Vinod Koul
Browse files

phy: rockchip: usbdp: Avoid call hpd_event_trigger in dp_phy_init



Function rk_udphy_dp_hpd_event_trigger will set vogrf let it
trigger HPD interrupt to DP by Type-C. This configuration is only
required when the DP work in Alternate Mode, and called by
typec_mux_set. In standard DP mode, such settings will prevent
the DP from receiving HPD interrupts.

Signed-off-by: default avatarAndy Yan <andy.yan@rock-chips.com>
Link: https://lore.kernel.org/r/20250302115257.188774-1-andyshrk@163.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 969a38be
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1047,7 +1047,6 @@ static int rk_udphy_dp_phy_init(struct phy *phy)
	mutex_lock(&udphy->mutex);

	udphy->dp_in_use = true;
	rk_udphy_dp_hpd_event_trigger(udphy, udphy->dp_sink_hpd_cfg);

	mutex_unlock(&udphy->mutex);