drm/vc4: dpi: Add action to disable the clock
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:38:58 +0000 (19:38 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:08 +0000 (10:46 +0200)
commit77932adf2a2c9625da8bc8885b626690ee500601
tree4e08327b7b32feabb4c6e93686f90baa947afd44
parent5801eda938f5f98cbdb6bc83e2c35499735f006a
drm/vc4: dpi: Add action to disable the clock

The DPI controller has two clocks called core and pixel, the core clock
being enabled at bind time.

Adding a device-managed action will make the error path easier, so let's
create one to disable it.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-29-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_dpi.c