Hello, This patch set modifies the vb2 implementation of the poll() operation to set the POLLERR flag for fatal errors only. The rationale and implementation details are explained in the individual commit messages. Changes since v2: - Return POLLERR when not streaming only when no buffers are queued - Tested with vivi and VB2_READ Changes since v1: - Rebased on top of the latest media tree master branch - Fixed typos Laurent Pinchart (2): v4l: vb2: Don't return POLLERR during transient buffer underruns v4l: vb2: Add fatal error condition flag drivers/media/v4l2-core/videobuf2-core.c | 40 +++++++++++++++++++++++++++++--- include/media/videobuf2-core.h | 3 +++ 2 files changed, 40 insertions(+), 3 deletions(-) -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html