mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 20:34:05 +00:00
The enum value of DP_IRQ_TYPE_HP_CABLE_IN is zero, but driver only send drm hp event when the irq_type and the enum value is true. if (irq_type & DP_IRQ_TYPE_HP_CABLE_IN || ...) drm_helper_hpd_irq_event(dp->drm_dev); So there would no drm hpd event when cable plug in, to fix that just need to assign all hotplug enum with no-zero values. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Yakir Yang <[email protected]> Reviewed-by: Sean Paul <[email protected]> Reviewed-by: Stéphane Marchesin <[email protected]> Reviewed-by: Tomasz Figa <[email protected]> Tested-by: Javier Martinez Canillas <[email protected]>