Files
linux/drivers/gpu/drm/bridge/analogix
Yakir Yang 7608a9fb37 drm/bridge: analogix_dp: fix no drm hpd event when panel plug in
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]>
2016-07-05 21:53:40 +08:00
..
…
…