summaryrefslogtreecommitdiff
path: root/block/genhd.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-07-11 20:39:12 +0300
committerMaxime Ripard <maxime@cerno.tech>2022-07-13 11:46:10 +0300
commit015653f7af7cb7fa56e9a88af2a15c814a39b6b4 (patch)
tree445f0b937f690919b945738a8730f32d6cd41c0f /block/genhd.c
parent59f9d46af43c884b92f690934263196387437c7e (diff)
downloadlinux-015653f7af7cb7fa56e9a88af2a15c814a39b6b4.tar.xz
drm/vc4: hdmi: Switch to device-managed CEC initialization
The current code to unregister our CEC device needs to be undone manually when we remove the HDMI driver. Since the CEC framework will allocate its main structure, and will defer its deallocation to when the last user will have closed it, we don't really need to take any particular measure to prevent any use-after-free and can thus use any managed action. Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20220711173939.1132294-43-maxime@cerno.tech
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions