drm/bridge: adv7511: Reset registers on hotplug
authorSean Paul <seanpaul@chromium.org>
Tue, 3 Jul 2018 16:56:03 +0000 (12:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 07:19:59 +0000 (09:19 +0200)
commitfa1c6d2371b170a8c89de50b25612673080620c8
tree33948b1a7dade0004a100666fae16a9616d40228
parent4fd089723f6f4bd77c67134c3643b37033e61b4d
drm/bridge: adv7511: Reset registers on hotplug

[ Upstream commit 5f3417569165a8ee57654217f73e0160312f409c ]

The bridge loses its hw state when the cable is unplugged. If we detect
this case in the hpd handler, reset its state.

Reported-by: Rob Clark <robdclark@gmail.com>
Tested-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180703165648.120401-1-seanpaul@chromium.org
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c