[PATCH 0/2] More meson HDMI fixes

Marc Zyngier
2020-11-20T09:42:34Z

Guillaume reported that my earlier fixes for the meson HDMI driver
broke another set of machines which are now exploding (clock not
enabled).

I have thus reconsidered the approach and came up with an alternative
fix (enable a missing clock), which Guillaume confirmed to be working.
Jerome pointed out that this driver is leaking clock references like a
sieve, so that needed addressing too.

The first patch start by fixing the clock leakage using a devm
facility.

The second patch addresses the earlier crash by reusing the
infrastructure put together in the first patch.

Tested on VIM3l.

Marc Zyngier (2):
drm/meson: dw-hdmi: Disable clocks on driver teardown
drm/meson: dw-hdmi: Enable the iahb clock early enough

drivers/gpu/drm/meson/meson_dw_hdmi.c | 51 ++++++++++++++++++---------
1 file changed, 35 insertions(+), 16 deletions(-)

--
2.28.0