Re: [PATCH v2 05/23] v4l: vb2: Fix stream start and buffer completion race

2014-06-24 Thread Hans Verkuil
On 06/24/14 01:54, Laurent Pinchart wrote: > videobuf2 stores the driver streaming state internally in the queue in > the start_streaming_called variable. The state is set right after the > driver start_stream operation returns, and checked in the > vb2_buffer_done() function, typically called from

[PATCH v2 05/23] v4l: vb2: Fix stream start and buffer completion race

2014-06-23 Thread Laurent Pinchart
videobuf2 stores the driver streaming state internally in the queue in the start_streaming_called variable. The state is set right after the driver start_stream operation returns, and checked in the vb2_buffer_done() function, typically called from the frame completion interrupt handler. A race con