Re: [PATCH] vb2: fix a regression in poll() behavior for output,streams

2015-10-30 Thread Laurent Pinchart
Hi Hans, On Thursday 29 October 2015 14:02:06 Hans Verkuil wrote: > In the 3.17 kernel the poll() behavior changed for output streams: > as long as not all buffers were queued up poll() would return that > userspace can write. This is fine for the write() call, but when > using stream I/O this cha

[PATCH] vb2: fix a regression in poll() behavior for output,streams

2015-10-28 Thread Hans Verkuil
In the 3.17 kernel the poll() behavior changed for output streams: as long as not all buffers were queued up poll() would return that userspace can write. This is fine for the write() call, but when using stream I/O this changed the behavior since the expectation was that it would wait for buffers