Skip to content

Commit

Permalink
V4L/DVB (8833): gspca: Cleanup the sonixb code.
Browse files Browse the repository at this point in the history
-the usb-id table caried several flags which were not usb-id specific but
 sensor specific, add a sensor_data array and move these flag there
-fr_h_sz was being abused to store and check which bridge was being used
 instead add a bridge member to the sd struct
-now that we have a sensor_data table use that to store pointers to
 init_sequences instead of using switch cases on sd->sensor

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Sep 3, 2008
1 parent 2012254 commit f45f06b
Showing 1 changed file with 162 additions and 203 deletions.
Loading

0 comments on commit f45f06b

Please sign in to comment.