[media] omap3isp: Correctly set QUERYCAP capabilities
authorSakari Ailus <sakari.ailus@iki.fi>
Thu, 1 Jan 2015 21:13:54 +0000 (18:13 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 21 Jan 2015 23:09:11 +0000 (21:09 -0200)
commit2c0108e1c02f9fc95f465adc4d2ce1ad8688290a
tree09e17e4158de2f0ccffd8852c87ea89c68ab02e7
parent8d4d9329cde6ff5369656d7d50630d8aac907bfa
[media] omap3isp: Correctly set QUERYCAP capabilities

device_caps in struct v4l2_capability were inadequately set in
VIDIOC_QUERYCAP. Fix this. Without this a WARN_ON in the v4l2 core
is triggered. This WARN_ON was added for kernel 3.19 exactly to
detect these situations.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/omap3isp/ispvideo.c