Re: [PATCH] v4l2-dev: disable selection ioctls for non-video devices

2015-03-13 Thread Sakari Ailus
On Fri, Mar 13, 2015 at 05:25:53PM +0100, Hans Verkuil wrote: > 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 Acked-by: Sakari Ailus -- Sakari Ailus e-mail: sakari.ai...@i

[PATCH] v4l2-dev: disable selection ioctls for non-video devices

2015-03-13 Thread Hans Verkuil
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 diff --git a/drivers/media/v4l2-core/v4l2-dev.c b/drivers/media/v4l2-core/v4l2-dev.c index e2b8b3e..71a1b93 100644 --- a/drivers/media/