[PATCH 0/5] media: i2c: Add missing v4l2_subdev_cleanup() calls

From: Aleksandr Chubuchnyi

Date: Wed Sep 09 2026 - 04:22:30 EST


v4l2_subdev_init_finalize() allocates the subdev active state and only
v4l2_subdev_cleanup() frees it. These five drivers never call it, so they
leak the state on every unbind.

Separate patches because the Fixes tags span 2022 to 2023 and go to
different stable trees. The st-mipid02 one dates from the active state
conversion, not from the original driver.

Aleksandr Chubuchnyi (5):
media: i2c: imx296: Add missing v4l2_subdev_cleanup() call
media: i2c: imx415: Add missing v4l2_subdev_cleanup() call
media: i2c: mt9m114: Add missing v4l2_subdev_cleanup() calls
media: i2c: ov8858: Add missing v4l2_subdev_cleanup() call
media: i2c: st-mipid02: Add missing v4l2_subdev_cleanup() call

drivers/media/i2c/imx296.c | 1 +
drivers/media/i2c/imx415.c | 1 +
drivers/media/i2c/mt9m114.c | 2 ++
drivers/media/i2c/ov8858.c | 2 ++
drivers/media/i2c/st-mipid02.c | 2 ++
5 files changed, 8 insertions(+)

--
2.43.0