Re: [PATCH 6/8] usb: gadget/uvc: set sizes in queue_setup to 0 when memorytype is not MMAP

2014-06-16 Thread Laurent Pinchart
Hi Michael, Thank you for the patch. On Wednesday 28 May 2014 09:38:07 Michael Grzeschik wrote: Its not needed to set plane sizelimit if using USERPTR or DMABUF. The buffersize limit will be parsed in the encoder function. I don't think this is correct. If you look at __qbuf_userptr() in

[PATCH 6/8] usb: gadget/uvc: set sizes in queue_setup to 0 when memorytype is not MMAP

2014-05-28 Thread Michael Grzeschik
Its not needed to set plane sizelimit if using USERPTR or DMABUF. The buffersize limit will be parsed in the encoder function. Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/usb/gadget/uvc_queue.c | 2 +- 1 file