gspca - main: Fix a regression with the PS3 Eye webcam
authorJean-François Moine <moinejf@free.fr>
Sat, 16 Oct 2010 16:54:05 +0000 (13:54 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:43 +0000 (13:32 -0800)
commitf553d481aec75129eff73f20e1fe5216287fb950
tree793d89c994368dbdaa401856bec8e3fd32e8ed7c
parent7a2813e19615c45e68a2a0d7602ec63455cad11e
gspca - main: Fix a regression with the PS3 Eye webcam

commit f43402fa55bf5e7e190c176343015122f694857c upstream.

When audio is present, some alternate settings were skipped.
This prevented some webcams to work, especially when bulk transfer was used.
This patch permits to use the last or only alternate setting.

Reported-by: Antonio Ospite <ospite@studenti.unina.it>
Tested-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/gspca/gspca.c