[media] gspca_sonixb: Refactor to unify bridge handling
authorHans de Goede <hdegoede@redhat.com>
Wed, 5 Jan 2011 16:55:43 +0000 (13:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:03 +0000 (11:45 -0200)
commit0a76cb8cefbaf84465e0cd9a6a1da7f54981c8ef
tree82cdfba640c14626d4c2094cedcd62d4c124268c
parenta24f0c5c47946b1a1999f44808e2219e7758d146
[media] gspca_sonixb: Refactor to unify bridge handling

Refactor the code to unify how the sn9c101/102 and the sn9c103 bridge
are handled. Also move code which is the same for all sensors from
the per sensor init register settings to a central place.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixb.c