drm/rockchip: cdn-dp: do not use drm_helper_hpd_irq_event
authorChris Zhong <zyw@rock-chips.com>
Sun, 5 Feb 2017 07:54:59 +0000 (15:54 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Sun, 5 Feb 2017 08:29:52 +0000 (16:29 +0800)
commit81632df69772efaacc6218281f58d5ed19d5c97e
treece50cb3c674a5ee0b72fc1cbbc7ad739544dacc7
parent5eb2e6ee97b5e9a8587143db339bc71b28a3e1ca
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.

Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Tested-by: Guenter Roeck <groeck@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
drivers/gpu/drm/rockchip/cdn-dp-core.c