gspca: Fix falling back to lower isoc alt settings
commitac97ecc886472e97ff22a81c298163d180d24605
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 13:32:03 +0000 (31 11:32 -0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 31 Dec 2011 19:53:58 +0000 (31 11:53 -0800)
tree7807a27faa7228cf6545220c2027103aadb2c8a1
parente6780f7243eddb133cc20ec37fa69317c218b709
gspca: Fix falling back to lower isoc alt settings

The current gspca core code has a regression where it no longer properly
falls back to lower alt settings when there is not enough bandwidth.

This causes many iso based usb-1 cameras to not work when plugged into a
usb2 hub or a sandybridge chipset motherboard!

This patch fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/video/gspca/gspca.c