drm/vc4: hdmi: Remove redundant HSM clk enable/disable in detect
authorMaxime Ripard <maxime@cerno.tech>
Tue, 14 Sep 2021 13:21:23 +0000 (15:21 +0200)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Tue, 14 Sep 2021 13:52:01 +0000 (14:52 +0100)
commit235ecb54316f40548743409af2db23283c39cf35
treed2e4b4aafe56193ac7e367ab1170dd1483a80816
parentff347b33d67f031d5e2116418ef8d2d8c64b0fee
drm/vc4: hdmi: Remove redundant HSM clk enable/disable in detect

Our detect function calls pm_runtime_resume_and_get() and
pm_runtime_put() to make sure the device is properly powered before
trying to access the controller.

However, it also makes sure the HSM clock is properly enabled (and
disabled), which is redundant with what runtime_pm is doing already.
Let's just remove it.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c