drm/vc4: hdmi: Use devm to register hotplug interrupts
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:39:15 +0000 (19:39 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:10 +0000 (10:46 +0200)
commitaf8a3b125b682c4c582bb25342af4759d9b4a1e5
tree0c21f52e211d0531dc12063f10432fa02251b039
parenta3dbb1c016576838a1591d2341641cb4067840e8
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>
Link: https://lore.kernel.org/r/20220711173939.1132294-46-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c