Skip to content

Commit ac97ecc

Browse files
Mauro Carvalho Chehabtorvalds
authored andcommitted
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent e6780f7 commit ac97ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/video/gspca/gspca.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ static int gspca_init_transfer(struct gspca_dev *gspca_dev)
957957
ret = -EIO;
958958
goto out;
959959
}
960-
alt = ep_tb[--alt_idx].alt;
960+
gspca_dev->alt = ep_tb[--alt_idx].alt;
961961
}
962962
}
963963
out:

0 commit comments

Comments
 (0)