Re: [PATCH] v4l: Release module if subdev registration fails

2011-03-30 Thread Hans Verkuil
On Wednesday, March 30, 2011 09:48:21 Laurent Pinchart wrote: > If v4l2_device_register_subdev() fails, the reference to the subdev > module taken by the function isn't released. Fix this. > > Signed-off-by: Laurent Pinchart Acked-by: Hans Verkuil That is definitely for 2.6.39. Regards,

[PATCH] v4l: Release module if subdev registration fails

2011-03-30 Thread Laurent Pinchart
If v4l2_device_register_subdev() fails, the reference to the subdev module taken by the function isn't released. Fix this. Signed-off-by: Laurent Pinchart --- drivers/media/video/v4l2-device.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/v4l2-d