drm/vc4: hdmi: Use devm to register hotplug interrupts
authorMaxime Ripard <maxime@cerno.tech>
Tue, 17 May 2022 10:32:05 +0000 (12:32 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 7 Sep 2022 08:53:04 +0000 (10:53 +0200)
commitdfb41df511eaeacc0c00db43924bedfe6596d8ab
treec730f0eb5a944c44cac66d1ec313946ef50b18a5
parentd98366fba3be29c1af55aa5a6c04d98465fd9d74
drm/vc4: hdmi: Use devm to register hotplug interrupts

Commit 776efe800fed ("drm/vc4: hdmi: Drop devm interrupt handler for
hotplug interrupts") dropped the device-managed interrupt registration
because it was creating bugs and races whenever an interrupt was coming in
while the device was removed.

However, our latest patches to the HDMI controller driver fix this as well,
so we can use device-managed interrupt handlers again.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c