From: Pawel Osciak
Date: Wed, 28 Apr 2010 07:05:21 +0000 (-0300)
Subject: V4L/DVB: Add a new ERROR flag for DQBUF after recoverable streaming errors
X-Git-Tag: v2.6.35-rc1~480^2~70
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc0f7f19ab9ba5c7ec648b400d1360b525fa1a3a;p=pandora-kernel.git
V4L/DVB: Add a new ERROR flag for DQBUF after recoverable streaming errors
This flag is intended to indicate streaming errors, which might have
resulted in corrupted video data in the buffer, but the buffer can still
be reused and streaming may continue.
Setting this flag and returning 0 is different from returning EIO. The
latter should now indicate more serious (unrecoverable) errors.
This patch also solves a problem with the ioctl handling code in
vl42-ioctl.c, which does not copy buffer identification data back to the
userspace when EIO is returned, so there is no way for applications
to discover on which buffer the operation failed in such cases.
Signed-off-by: Pawel Osciak
Signed-off-by: Kyungmin Park
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed