[PATCH] media: nxp: imx8-isi: Cleanup video device in error path

Fabio Estevam festevam at gmail.com
Thu May 22 07:32:13 PDT 2025


Hi Daniel,

On Thu, May 22, 2025 at 11:30 AM Daniel Scally
<dan.scally at ideasonboard.com> wrote:
>
> mxc_isi_v4l2_init() registers video devices and v4l2 subdevices but
> the video devices are not cleaned up in that function's error path
> which means they're left hanging if it fails. Update the function
> to clean them up properly.
>
> Signed-off-by: Daniel Scally <dan.scally at ideasonboard.com>

It looks like this deserves a Fixes: tag.



More information about the linux-arm-kernel mailing list