drm/vc4: hdmi: Use a device-managed action for DDC
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:39:13 +0000 (19:39 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:10 +0000 (10:46 +0200)
commitd3a84242f897506509d1bb29b8e64166958fb991
tree07767ef565a29bff89f5e45ead9ebf643474ea6b
parent015653f7af7cb7fa56e9a88af2a15c814a39b6b4
drm/vc4: hdmi: Use a device-managed action for DDC

The reference to the DDC controller device needs to be put back when we're
done with it. Let's use a device-managed action to simplify the driver.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-44-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c