upstream: [media] usbtv: Throw corrupted frames away
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 2 Jul 2013 10:56:39 +0000 (07:56 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:19 +0000 (11:55 +0900)
commit67a16129846d19cea8245baf87ee737f688cc60a
tree42b7fce8a418279989ba6b0456101370cab4292a
parent93bb7877e6d70add1c3a22ba5833f3c98bedaad9
upstream: [media] usbtv: Throw corrupted frames away

Ignore out of order data and mark incomplete buffers as errored.
This gets rid of annoying flicker due to occassional garbage from hardware.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-media@vger.kernel.org
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Conflicts:
drivers/media/usb/usbtv/usbtv.c
drivers/media/usb/usbtv/usbtv.c