Message ID | 20240617161135.130719-4-jacopo.mondi@ideasonboard.com |
---|---|
State | Accepted |
Commit | f6d64d0d2897ed4e85ac00afe43e45c8b8fc0c44 |
Headers | show |
Series | media: renesas: rcar-csi2: Use the subdev active state | expand |
diff --git a/drivers/media/platform/renesas/rcar-csi2.c b/drivers/media/platform/renesas/rcar-csi2.c index 249e58c77176..2d464e43a5be 100644 --- a/drivers/media/platform/renesas/rcar-csi2.c +++ b/drivers/media/platform/renesas/rcar-csi2.c @@ -1938,6 +1938,7 @@ static void rcsi2_remove(struct platform_device *pdev) v4l2_async_nf_unregister(&priv->notifier); v4l2_async_nf_cleanup(&priv->notifier); v4l2_async_unregister_subdev(&priv->subdev); + v4l2_subdev_cleanup(&priv->subdev); pm_runtime_disable(&pdev->dev);