OSDN Git Service

drm/meson: dw-hdmi: Enable the iahb clock early enough
authorMarc Zyngier <maz@kernel.org>
Fri, 20 Nov 2020 09:42:05 +0000 (09:42 +0000)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 20 Nov 2020 15:41:10 +0000 (16:41 +0100)
commit2b6cb81b95d1e8abfb6d32cf194a5bd2992c315c
tree6c6fcab98f66515b1408f7d972faf3d51c191bdf
parent1dfeea904550c11eccf3fd5f6256e4b0f0208dfe
drm/meson: dw-hdmi: Enable the iahb clock early enough

Instead of moving meson_dw_hdmi_init() around which breaks existing
platform, let's enable the clock meson_dw_hdmi_init() depends on.
This means we don't have to worry about this clock being enabled or
not, depending on the boot-loader features.

Fixes: b33340e33acd ("drm/meson: dw-hdmi: Ensure that clocks are enabled before touching the TOP registers")
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: changed reported by to kernelci.org bot]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201120094205.525228-3-maz@kernel.org
drivers/gpu/drm/meson/meson_dw_hdmi.c