V4L/DVB (12358): gspca - main: Memorize the current alt before setting it
authorJean-Francois Moine <moinejf@free.fr>
Tue, 28 Jul 2009 07:38:25 +0000 (04:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:22 +0000 (12:18 -0300)
commit1c8336d338099cbef6eb4bacd869c602c3988a06
treef2862cb61117f7b6936a82a3cc2c8601207069ae
parentc61fd24f2d613264d08d2cac844bdcbd754da285
V4L/DVB (12358): gspca - main: Memorize the current alt before setting it

This prevents a loop if a permanent error occurs in usb_set_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