Re: [PATCH v4 06/12] drm/vc4: hdmi: Prevent clock unbalance

2021-05-21 Thread Dave Stevenson
On Fri, 7 May 2021 at 16:05, Maxime Ripard wrote: > > Since we fixed the hooks to disable the encoder at boot, we now have an > unbalanced clk_disable call at boot since we never enabled them in the > first place. > > Let's mimic the state of the hardware and enable the clocks at boot if > the

[PATCH v4 06/12] drm/vc4: hdmi: Prevent clock unbalance

2021-05-07 Thread Maxime Ripard
Since we fixed the hooks to disable the encoder at boot, we now have an unbalanced clk_disable call at boot since we never enabled them in the first place. Let's mimic the state of the hardware and enable the clocks at boot if the controller is enabled to get the use-count right. Cc: # v5.10+