vc4: cec: Restore cec physical address on reconnect
authorDom Cobley <popcornmix@gmail.com>
Wed, 3 Jun 2020 11:20:19 +0000 (12:20 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:18 +0000 (19:13 +0000)
commit78754977608d1f3c124f47d68365dbad326ec103
tree37226a0d55a884817d6d5db7dd3fe745c3c6c664
parent406da79991d6bbf4fc6fb57b98976ebce0a987e2
vc4: cec: Restore cec physical address on reconnect

Currently we call cec_phys_addr_invalidate on a hotplug deassert.
That may be due to a TV power cycling, or an AVR being switched
on (and switching edid). This makes CEC unusable.

Set it back up again on the hotplug assert.

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
drivers/gpu/drm/vc4/vc4_hdmi.c