drm/rockchip: cdn-dp: do not use drm_helper_hpd_irq_event
authorChris Zhong <zyw@rock-chips.com>
Fri, 30 Dec 2016 07:34:36 +0000 (15:34 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 6 Jan 2017 06:48:09 +0000 (14:48 +0800)
commit4e23ecb9dc44118bfc2181a843c2694cdfc9e6f9
treefecf3863cc62dd8e9fbb0f32134d21026abb5979
parent05dae6cce7900f2f44a442be0eea149236fc7867
drm/rockchip: cdn-dp: do not use drm_helper_hpd_irq_event

The cdn_dp_pd_event_work is using drm_helper_hpd_irq_event to update the
connector status, this function is used to update all connectors of
drm_device. Therefore, the detect of other connector will be call, when
cdn_dp_pd_event_work is triggered, every time. It is not necessary, and
it may cause system crash. replace drm_helper_hpd_irq_event with
drm_kms_helper_hotplug_event, only update cdn-dp status.

Change-Id: I6130d008d6d5187c934879b2f461f71699ea1532
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
drivers/gpu/drm/rockchip/cdn-dp-core.c