Re: [RFCv2 PATCH 0/9] vb2: various cleanups and improvements

2013-11-29 Thread Hans Verkuil
New in v2: - Added a PREPARING state in patch 1 to prevent a race condition that Laurent mentioned (two QBUF calls with the same index number at the same time). - Changed some minor issues in patch 4 that Laurent mentioned in his review. - Added the reworked version of Andy's original patch to r

[RFCv2 PATCH 0/9] vb2: various cleanups and improvements

2013-11-29 Thread Hans Verkuil
This patch series does some cleanups in the qbuf/prepare_buf handling (the first two patches). The third patch removes the 'fileio = NULL' hack. That hack no longer works when dealing with asynchronous calls from a kernel thread so it had to be fixed. The next three patches implement retrying star