[PATCH 0/4] media: davinci: vpif: fix use-after-free on driver unbind

From: Johan Hovold
Date: Wed Dec 22 2021 - 09:21:09 EST


When scanning the tree for drivers that did not handle platform-device
registration failures properly I stumbled upon this driver, which also
failed to deregister device structures before freeing them.

Included are also some related runtime PM imbalance fixes and a printk
clean up.

Johan


Johan Hovold (4):
media: davinci: vpif: fix unbalanced runtime PM get
media: davinci: vpif: fix unbalanced runtime PM enable
media: davinci: vpif: fix use-after-free on driver unbind
media: davinci: vpif: drop probe printk

drivers/media/platform/davinci/vpif.c | 111 +++++++++++++++++++-------
1 file changed, 81 insertions(+), 30 deletions(-)

--
2.32.0