Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (9089): gspca: Remove the duplicated EOF (ff d9) in t613.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Jean-Francois Moine and committed by
Mauro Carvalho Chehab
b1043e56 97076859

+1 -1
+1 -1
drivers/media/video/gspca/t613.c
··· 916 916 return; 917 917 } 918 918 919 - if (data[len - 1] == 0xff && data[len] == 0xd9) { 919 + if (data[len - 2] == 0xff && data[len - 1] == 0xd9) { 920 920 /* Just in case, i have seen packets with the marker, 921 921 * other's do not include it... */ 922 922 data += 2;