Re: [PATCH v5 13/13] media: coda: set up buffers to be sized as negotiated with s_fmt

2012-09-13 Thread javier Martin
On 12 September 2012 17:02, Philipp Zabel wrote: > This fixes a failure in vb2_qbuf in user pointer mode where > __qbuf_userptr checks if the buffer queued by userspace is large > enough. The failure would happen if coda_queue_setup was called > with empty fmt (and thus set the expected buffer siz

[PATCH v5 13/13] media: coda: set up buffers to be sized as negotiated with s_fmt

2012-09-12 Thread Philipp Zabel
This fixes a failure in vb2_qbuf in user pointer mode where __qbuf_userptr checks if the buffer queued by userspace is large enough. The failure would happen if coda_queue_setup was called with empty fmt (and thus set the expected buffer size to the maximum resolution), and userspace queues buffers