Re: [PATCH/RFC 2/2] v4l: vb2: Add fatal error condition flag

2014-06-05 Thread Hans Verkuil
Hi Laurent, There are some typos and the patch is against an old kernel. I'll wait with an Ack until I see the v2. Regards, Hans On 06/04/14 16:05, Laurent Pinchart wrote: When a fatal error occurs that render the device unusable, the only options for a driver to signal the error

[PATCH/RFC 2/2] v4l: vb2: Add fatal error condition flag

2014-06-04 Thread Laurent Pinchart
When a fatal error occurs that render the device unusable, the only options for a driver to signal the error condition to userspace is to set the V4L2_BUF_FLAG_ERROR flag when dequeuing buffers and to return an error from the buffer prepare handler when queuing buffers. The buffer error flag