From: Hans Verkuil Date: Thu, 24 Jul 2014 12:19:37 +0000 (-0300) Subject: [media] vb2: fix vb2_poll for output streams X-Git-Tag: cleanup-for-v3.18~114^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1612f20ea025f55741b2d6e8b9c91047a7324a76;p=pandora-kernel.git [media] vb2: fix vb2_poll for output streams vb2_poll should always return POLLOUT | POLLWRNORM as long as there are fewer buffers queued than there are buffers available. Poll for an output stream should only wait if all buffers are queued and nobody is dequeuing them. Signed-off-by: Hans Verkuil Acked-by: Marek Szyprowski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed