Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Mauro Carvalho Chehab and committed by
Linus Torvalds
ac97ecc8 e6780f72

+1 -1
+1 -1
drivers/media/video/gspca/gspca.c
··· 957 957 ret = -EIO; 958 958 goto out; 959 959 } 960 - alt = ep_tb[--alt_idx].alt; 960 + gspca_dev->alt = ep_tb[--alt_idx].alt; 961 961 } 962 962 } 963 963 out: