V4L/DVB (13192): gspca - pac_common: redesign function for finding Start Of Frame
authorMarton Nemeth <nm127@freemail.hu>
Mon, 5 Oct 2009 08:41:30 +0000 (05:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:49 +0000 (18:40 -0200)
commite0d49e2d3ae3cd887b7999c4227c04008d2a02c4
treecc4cd7e02c1a6fe6a076aaf6398db3ad4e3d185a
parent760c466c66db40cde5953e93b94ae20c7610fb20
V4L/DVB (13192): gspca - pac_common: redesign function for finding Start Of Frame

The original implementation of pac_find_sof() does not always find
the Start Of Frame (SOF) marker. Replace it with a state machine
based design.

Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/pac_common.h