[media] v4l2-dev: disable selection ioctls for non-video devices
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 13 Mar 2015 16:25:53 +0000 (13:25 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:30:00 +0000 (18:30 -0300)
commit2c9fc463d60b9d09111fde5903e1f3e8e891a674
tree42911ee1a63ba1e2c31d15ac48ff481dd16b45e6
parent8a55ddd94c3a763f701f003fd56e39f7c317063d
[media] v4l2-dev: disable selection ioctls for non-video devices

The selection/cropping ioctls are only valid for video nodes, not for vbi.

Found by v4l2-compliance when run on a VBI device node.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-dev.c