drm/vc4: dpi: Add action to disable the clock
authorMaxime Ripard <maxime@cerno.tech>
Mon, 23 May 2022 15:04:25 +0000 (17:04 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 7 Sep 2022 08:53:02 +0000 (10:53 +0200)
commitbd83d2fe360146a0f168f0baccbab0c26e455b66
tree412f5abf9ec308d51db03efd5e214242e0b85aa1
parent6a8139240d142b90f897f0e09051b4aa990600bf
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>
drivers/gpu/drm/vc4/vc4_dpi.c