]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
phy: rockchip: usbdp: Avoid call hpd_event_trigger in dp_phy_init
authorAndy Yan <andy.yan@rock-chips.com>
Sun, 2 Mar 2025 11:52:25 +0000 (19:52 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Mar 2025 15:41:08 +0000 (16:41 +0100)
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: Andy Yan <andy.yan@rock-chips.com>
Link: https://lore.kernel.org/r/20250302115257.188774-1-andyshrk@163.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-usbdp.c

index 77561e347c8630543f89c786ae816c3cad2c7941..fff04e0fbd800dd6e98df79119aa15a3b26de5df 100644 (file)
@@ -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);