Revert "drm/rockchip: dw-dp: filtering unexpected hotplug event."

This reverts commit d8004e3b97.

Change-Id: Ic7245d465c13dfbf3da6b36e9ca64b269daa9cdd
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
This commit is contained in:
Zhang Yubing
2024-08-28 16:38:04 +08:00
committed by Tao Huang
parent c91367d453
commit 18a95b01e6

View File

@@ -3816,9 +3816,6 @@ static void dw_dp_link_disable(struct dw_dp *dp)
static void dw_dp_reset(struct dw_dp *dp)
{
int val;
disable_irq(dp->irq);
regmap_update_bits(dp->regmap, DPTX_SOFT_RESET_CTRL, CONTROLLER_RESET,
FIELD_PREP(CONTROLLER_RESET, 1));
udelay(100);
@@ -3826,12 +3823,6 @@ static void dw_dp_reset(struct dw_dp *dp)
FIELD_PREP(CONTROLLER_RESET, 0));
dw_dp_init(dp);
if (!dp->hpd_gpio) {
regmap_read_poll_timeout(dp->regmap, DPTX_HPD_STATUS, val,
FIELD_GET(HPD_HOT_PLUG, val), 200, 200000);
regmap_write(dp->regmap, DPTX_HPD_STATUS, HPD_HOT_PLUG);
}
enable_irq(dp->irq);
}
static void dw_dp_mst_encoder_atomic_disable(struct drm_encoder *encoder,