diff options
author | Yakir Yang <ykk@rock-chips.com> | 2016-06-29 12:15:47 +0300 |
---|---|---|
committer | Yakir Yang <ykk@rock-chips.com> | 2016-07-05 16:53:40 +0300 |
commit | 7608a9fb37b02c5cce3199f87eafb0a6c07d6f93 (patch) | |
tree | 23a5d6c28eb611818b36e14f0f28b32e279b76a1 /Documentation/devicetree | |
parent | d698f0eb9d0ebfff26a5a739a21164700d5dd58e (diff) | |
download | linux-7608a9fb37b02c5cce3199f87eafb0a6c07d6f93.tar.xz |
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>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions