summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-09-23 11:23:52 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-09-24 06:31:03 +0400
commit6507b4232c2e136ccc338c3ed5c2f54b32b961b7 (patch)
tree4ffc213bc8670294bb055371ca908ff9519662d4 /drivers/media
parent3e12950d86d695bdaf762476446a60ed5073eedc (diff)
downloadlinux-6507b4232c2e136ccc338c3ed5c2f54b32b961b7.tar.xz
[media] gspca - spca1528: Don't force the USB transfer alternate setting
As the choice of the alternate setting has been enhanced in the gspca main, forcing its number here is no more useful. Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/gspca/spca1528.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/spca1528.c b/drivers/media/video/gspca/spca1528.c
index b7e8d408c989..695673106e76 100644
--- a/drivers/media/video/gspca/spca1528.c
+++ b/drivers/media/video/gspca/spca1528.c
@@ -311,8 +311,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
sd->color = COLOR_DEF;
sd->sharpness = SHARPNESS_DEF;
- gspca_dev->nbalt = 4; /* use alternate setting 3 */
-
return 0;
}
@@ -353,6 +351,10 @@ static int sd_isoc_init(struct gspca_dev *gspca_dev)
reg_r(gspca_dev, 0x25, 0x0004, 1);
reg_wb(gspca_dev, 0x27, 0x0000, 0x0000, 0x06); /* 420 */
reg_r(gspca_dev, 0x27, 0x0000, 1);
+
+/* not useful..
+ gspca_dev->alt = 4; * use alternate setting 3 */
+
return gspca_dev->usb_err;
}