Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/meson
Marc Zyngier d0ef2d7940 drm/meson: dw-hdmi: Disable clocks on driver teardown
[ Upstream commit 1dfeea904550c11eccf3fd5f6256e4b0f0208dfe ]

The HDMI driver request clocks early, but never disable them, leaving
the clocks on even when the driver is removed.

Fix it by slightly refactoring the clock code, and register a devm
action that will eventually disable/unprepare the enabled clocks.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201120094205.525228-2-maz@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:18 +01:00
..
2019-12-10 10:09:01 +01:00
2019-08-09 12:06:14 +02:00
2019-12-10 10:08:45 +01:00
2020-07-24 08:48:05 +10:00
2020-05-27 14:31:42 +03:00
2019-07-17 12:47:57 +02:00