V4L/DVB (13897): gspca - main: Check the interface class at probe time.
authorJean-Francois Moine <moinejf@free.fr>
Tue, 5 Jan 2010 07:44:00 +0000 (04:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:29 +0000 (15:10 -0300)
commit52a9d3ef0034f29cef1c5616faa72aa394b01b65
tree07d048f5f7e69d4c06615965fc759068424dba97
parent38719d45f937178718d49516d1f72208d5d72d22
V4L/DVB (13897): gspca - main: Check the interface class at probe time.

The USB video interface was checked as having the number zero, but
some webcams have other values. The test is now done on the interface
class which may be either 255 (vendor spec) or 0 (class per interface).

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