From: Michael Krufky Date: Sun, 19 Jul 2009 21:19:18 +0000 (-0300) Subject: V4L/DVB (12302): cx23885-417: fix broken IOCTL handling X-Git-Tag: v2.6.31-rc5~89^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12a34cc8a9a49219ab643c8ec329078eec272b47;p=platform%2Fupstream%2Fkernel-adaptation-pc.git V4L/DVB (12302): cx23885-417: fix broken IOCTL handling IOCTLS will never get handled if we dont connect video_ioctl2 to mpeg_fops.ioctl Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/cx23885/cx23885-417.c b/drivers/media/video/cx23885/cx23885-417.c index 428f0c4..2ea7181 100644 --- a/drivers/media/video/cx23885/cx23885-417.c +++ b/drivers/media/video/cx23885/cx23885-417.c @@ -1677,6 +1677,7 @@ static struct v4l2_file_operations mpeg_fops = { .read = mpeg_read, .poll = mpeg_poll, .mmap = mpeg_mmap, + .ioctl = video_ioctl2, }; static const struct v4l2_ioctl_ops mpeg_ioctl_ops = {