[PATCH] media: nxp: imx8-isi: Cleanup video device in error path
Dan Scally
dan.scally at ideasonboard.com
Thu May 22 07:37:27 PDT 2025
Hi Fabio
On 22/05/2025 15:32, Fabio Estevam wrote:
> 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.
Ah, yes indeed, that should be:
Fixes: cf21f328fcaf ("media: nxp: Add i.MX8 ISI driver")
More information about the linux-arm-kernel
mailing list