Commit 7a1690cb authored by Archit Taneja's avatar Archit Taneja
Browse files

drm/bridge: adv7511: Power on the chip when cable is plugged back



When a HPD unplug occurs, the chip resets itself. When the connector
is plugged in again, we need to restore its state (i.e, power it on)
for it to be configured properly.

This was done correctly before, but the commit 01d847af
"drm/bridge: adv7511: Switch to using drm_kms_helper_hotplug_event()"
changes what we do when we get a HPD interrupt. Previously, the
drm_helper_hpd_irq_event() internally called the connector's detect() op
(adv7511_detect), which powered on the chip if this was a
unplugged -> plugged transition. After the patch, the interrupt handler
schedules a work that only reports the connection status.

This fixes a regression where HDMI isn't powered on once unplugged and
plugged in again.

Reported-by: default avatarIlia Lin <ilial@codeaurora.org>
Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
parent 60cf1301
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment