drm/vc4: hdmi: Enable the audio clock
authorMaxime Ripard <maxime@cerno.tech>
Wed, 29 Mar 2023 14:26:52 +0000 (15:26 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:34:53 +0000 (11:34 +0000)
commit0984f8c90de93a687965d0059b2dd6b85a3ba022
tree1da9935cd930262829622ad9662a0e5803cad7fb
parentf23981c5278385352852714e3a02225c5a2186a4
drm/vc4: hdmi: Enable the audio clock

The audio clock is used by the HDMI controller driver and we were using
it to get its audio rate and compute the dividers needed to reach a
given audio sample rate.

However, we were never enabling it, which was resulting in lockups on
the BCM2712.

Fixes: 632ee3aa8786 ("drm/vc4: hdmi: Add audio-related callbacks")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c