[PATCH 1/2] media: rcar_vin: helper function for streaming stop

2015-01-26 Thread William Towle
From: Ian Molton ian.mol...@codethink.co.uk The code that tests that capture from a stream has stopped is presently insufficient and the potential for a race condition exists where frame capture may generate an interrupt between requesting the capture process halt and freeing buffers. This patch

[PATCH 1/2] media: rcar_vin: helper function for streaming stop

2015-01-16 Thread William Towle
From: Ian Molton ian.mol...@codethink.co.uk The code that tests that capture from a stream has stopped is presently insufficient and the potential for a race condition exists where frame capture may generate an interrupt between requesting the capture process halt and freeing buffers. This patch