]> git.baikalelectronics.ru Git - kernel.git/commit
media: uvcvideo: Mark buffer error where overflow
authorBaoyou Xie <baoyou.xie@linaro.org>
Thu, 7 Sep 2017 02:59:48 +0000 (22:59 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Dec 2017 16:32:29 +0000 (11:32 -0500)
commite33fbcc6dce9d5e17978bb50325b1a9ebb44aa90
treec9c49af6c8c6c5936f9e56a8d2cec7911b14c9de
parent431ae04fcad2ea53b6c8a388fbcac0d778b170bc
media: uvcvideo: Mark buffer error where overflow

Some cameras post inaccurate frame where next frame data overlap
it. this results in screen flicker, and it need to be prevented.

So this patch marks the buffer error to discard the frame where
buffer overflow.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/uvc/uvc_video.c