]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/usb/usbtv/usbtv-video.c
[media] usbtv: Throw corrupted frames away
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 2 Jul 2013 10:56:39 +0000 (07:56 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 3 Sep 2013 12:24:19 +0000 (09:24 -0300)
commit6ee0faa52676ab648e486afb654fc92313d55943
tree8182eef894d1e06b7623330e943285d6ef259d5c
parent3080072460bb0efd156e415bfea783279bf64e92
[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>
Cc: stable@vger.kernel.org
drivers/media/usb/usbtv/usbtv.c