diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-04-30 10:34:05 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-04 16:22:39 -0300 |
commit | b7534f002d3c81d18abfbf57179d07d3ec763bb5 (patch) | |
tree | 9f810491999867006069483cef9a7c98f6c257f2 /drivers/media/video/v4l2-ioctl.c | |
parent | b730011061e2805a46b7291e708b6caaf2be6869 (diff) | |
download | op-kernel-dev-b7534f002d3c81d18abfbf57179d07d3ec763bb5.zip op-kernel-dev-b7534f002d3c81d18abfbf57179d07d3ec763bb5.tar.gz |
[media] v4l: Release module if subdev registration fails
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 <laurent.pinchart@ideasonboard.com>
Cc: stable@kernel.org
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions