[media] uvcvideo: Fix marking buffer erroneous in case of FID toggling
authorAnton Leontiev <bunder@t-25.ru>
Tue, 25 Mar 2014 04:40:57 +0000 (01:40 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 14:25:02 +0000 (11:25 -0300)
Set error bit for incomplete buffers when end of buffer is detected by
FID toggling (for example when last transaction with EOF is lost).
This prevents passing incomplete buffers to the userspace.

Signed-off-by: Anton Leontiev <bunder@t-25.ru>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

No differences found