Re: [PATCH] [media] stk1160: Check *nplanes in queue_setup

2016-05-10 Thread Hans Verkuil
On 05/10/2016 05:06 AM, Helen Koike wrote: > If *nplanes is not zero, it should use the requested size if valid *nplanes is never 0 since the create_buffers ioctl isn't implemented in this driver. Adding support for it (simply use vb2_create_buffers) would make sense. Regards, Hans >

[PATCH] [media] stk1160: Check *nplanes in queue_setup

2016-05-09 Thread Helen Koike
If *nplanes is not zero, it should use the requested size if valid Signed-off-by: Helen Koike --- drivers/media/usb/stk1160/stk1160-v4l.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/usb/stk1160/stk1160-v4l.c