commit | 9fd01cc3ee6ed16b2329aa46282403b5060379a8 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Thu Nov 19 19:33:16 2020 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Thu Nov 19 19:36:55 2020 +0000 |
tree | f7474b7b8495384b9de8e3d6ca4577c50d103ad0 | |
parent | c2a0ccc949bce39b2385496c7f5cdf07b30cdbec [diff] |
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>