summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/sq905c.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-04-21 20:45:56 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-17 01:20:54 +0400
commit6929dc6b30dc3a6c9c411f677a11b866e8dd28aa (patch)
treedd2f5706fd72990a9bf829665335c8942f64053a /drivers/media/video/gspca/sq905c.c
parent0b119b7bf4612d6de6638a0babe93c1d8509a838 (diff)
downloadlinux-6929dc6b30dc3a6c9c411f677a11b866e8dd28aa.tar.xz
V4L/DVB (11710): gspca - main: Webcams cannot do both isoc and bulk image transfers.
Let the subdrivers to set the 'image transfer by bulk' flag. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sq905c.c')
-rw-r--r--drivers/media/video/gspca/sq905c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/sq905c.c b/drivers/media/video/gspca/sq905c.c
index 0bcb74a1b143..916892505432 100644
--- a/drivers/media/video/gspca/sq905c.c
+++ b/drivers/media/video/gspca/sq905c.c
@@ -206,6 +206,7 @@ static int sd_config(struct gspca_dev *gspca_dev,
cam->nmodes = 1;
/* We don't use the buffer gspca allocates so make it small. */
cam->bulk_size = 32;
+ cam->bulk = 1;
INIT_WORK(&dev->work_struct, sq905c_dostream);
return 0;
}