Re: [PATCH v5 3/4] coda: set allow_zero_bytesused flag for vb2_queue_init

2015-02-20 Thread Hans Verkuil
On 02/20/2015 05:38 PM, Kamil Debski wrote: > The coda driver interprets a buffer with bytesused equal to 0 as a special > case indicating end-of-stream. After vb2: fix bytesused == 0 handling > (8a75ffb) patch videobuf2 modified the value of bytesused if it was 0. > The allow_zero_bytesused flag w

[PATCH v5 3/4] coda: set allow_zero_bytesused flag for vb2_queue_init

2015-02-20 Thread Kamil Debski
The coda driver interprets a buffer with bytesused equal to 0 as a special case indicating end-of-stream. After vb2: fix bytesused == 0 handling (8a75ffb) patch videobuf2 modified the value of bytesused if it was 0. The allow_zero_bytesused flag was added to videobuf2 to keep backward compatibility