[media] gspca - sn9c20x: Fix loss of frame start
authorJean-François Moine <moinejf@free.fr>
Mon, 19 Mar 2012 07:22:44 +0000 (04:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:27:27 +0000 (22:27 -0300)
commit1f42df0db04356ff9384514e1ec027df9ce3d132
tree2323442e6be0a8f1a65161bb9d94574fc4419a36
parenta2816edaaca2586cac66270844614586810f53ea
[media] gspca - sn9c20x: Fix loss of frame start

The frame header was checked on packets of size 64 bytes only, while the webcams
may put a frame header at the beginning of bigger packets.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sn9c20x.c