diff options
author | Marc Zyngier <maz@kernel.org> | 2020-11-20 09:42:04 +0000 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2020-11-20 16:41:10 +0100 |
commit | 1dfeea904550c11eccf3fd5f6256e4b0f0208dfe (patch) | |
tree | 126448a22eb2ccd8e508e32f3e73ce243bf3a0f2 /drivers/misc/vmw_balloon.c | |
parent | f0aee45ffc8b97e38274808de2480ddf4807b27c (diff) | |
download | lwn-1dfeea904550c11eccf3fd5f6256e4b0f0208dfe.tar.gz lwn-1dfeea904550c11eccf3fd5f6256e4b0f0208dfe.zip |
drm/meson: dw-hdmi: Disable clocks on driver teardown
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
Diffstat (limited to 'drivers/misc/vmw_balloon.c')
0 files changed, 0 insertions, 0 deletions