drm/vc4: hdmi: Make sure the controller is powered up during bind
authorMaxime Ripard <maxime@cerno.tech>
Fri, 2 Jul 2021 10:03:28 +0000 (12:03 +0200)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 2 Jul 2021 15:45:04 +0000 (16:45 +0100)
commit94bc403a9a7af3bd042ecdc160e6ab0b08331df8
tree0bf1438e47737d2d1ce7ac1ff271cae778574bb7
parent827ba39e559f74f989ac951f0b1c750430717a88
drm/vc4: hdmi: Make sure the controller is powered up during bind

In the bind hook, we actually need the device to have the HSM clock
running during the final part of the display initialisation where we
reset the controller and initialise the CEC component.

Failing to do so will result in a complete, silent, hang of the CPU.

Fixes: 411efa18e4b0 ("drm/vc4: hdmi: Move the HSM clock enable to runtime_pm")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c