Re: [PATCH] v4l2-ioctl.c: fix VIDIOC_DV_TIMINGS_CAP: don't clear pad

2018-02-07 Thread Sakari Ailus
On Tue, Feb 06, 2018 at 08:04:42PM +0100, Hans Verkuil wrote: > The pad field should be passed on to the subdev driver, but it is cleared in > v4l2-ioctl.c so the subdev driver always sees a 0 pad. > > Found with v4l2-compliance. > > Signed-off-by: Hans Verkuil > Reported-by: Tim Harvey Acked-

[PATCH] v4l2-ioctl.c: fix VIDIOC_DV_TIMINGS_CAP: don't clear pad

2018-02-06 Thread Hans Verkuil
The pad field should be passed on to the subdev driver, but it is cleared in v4l2-ioctl.c so the subdev driver always sees a 0 pad. Found with v4l2-compliance. Signed-off-by: Hans Verkuil Reported-by: Tim Harvey --- diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4