drm/msm/dp: handle irq_hpd with sink_count = 0 correctly
[linux-2.6-microblaze.git] / drivers / gpu / drm / msm / dp / dp_catalog.c
index b1a9b1b..f4f53f2 100644 (file)
@@ -582,10 +582,9 @@ void dp_catalog_ctrl_hpd_config(struct dp_catalog *dp_catalog)
 
        u32 reftimer = dp_read_aux(catalog, REG_DP_DP_HPD_REFTIMER);
 
-       /* enable HPD interrupts */
+       /* enable HPD plug and unplug interrupts */
        dp_catalog_hpd_config_intr(dp_catalog,
-               DP_DP_HPD_PLUG_INT_MASK | DP_DP_IRQ_HPD_INT_MASK
-               | DP_DP_HPD_UNPLUG_INT_MASK | DP_DP_HPD_REPLUG_INT_MASK, true);
+               DP_DP_HPD_PLUG_INT_MASK | DP_DP_HPD_UNPLUG_INT_MASK, true);
 
        /* Configure REFTIMER and enable it */
        reftimer |= DP_DP_HPD_REFTIMER_ENABLE;