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 <dan.carpenter@oracle.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Tomasz Figa <tomasz.figa@chromium.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
2016-07-05 21:53:40 +08:00
..
analogix_dp_core.c drm/bridge: analogix_dp: passing the connector as an argument in .get_modes() 2016-07-05 21:53:38 +08:00
analogix_dp_core.h drm/bridge: analogix_dp: fix no drm hpd event when panel plug in 2016-07-05 21:53:40 +08:00
analogix_dp_reg.c drm/bridge: analogix_dp: some rockchip chips need to flip REF_CLK bit setting 2016-07-05 09:16:40 +08:00
analogix_dp_reg.h drm/bridge: analogix_dp: some rockchip chips need to flip REF_CLK bit setting 2016-07-05 09:16:40 +08:00
Kconfig drm: bridge: analogix/dp: split exynos dp driver to bridge directory 2016-04-05 10:11:48 +08:00
Makefile drm: bridge: analogix/dp: split exynos dp driver to bridge directory 2016-04-05 10:11:48 +08:00