summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/sq905c.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-04-21 18:45:56 +0200
committerJean-Francois Moine <moinejf@free.fr>2009-04-21 18:45:56 +0200
commit175b0d841f2019dc6f8383d83db6664adff68fa4 (patch)
treea146cc5ffc2de8213059fd1c702c994ac54d63a4 /linux/drivers/media/video/gspca/sq905c.c
parent33e07d82c88624e750f132b924afa1a891e5069a (diff)
downloadmediapointer-dvb-s2-175b0d841f2019dc6f8383d83db6664adff68fa4.tar.gz
mediapointer-dvb-s2-175b0d841f2019dc6f8383d83db6664adff68fa4.tar.bz2
gspca - main: Webcams cannot do both isoc and bulk image transfers.
From: Jean-Francois Moine <moinejf@free.fr> Let the subdrivers to set the 'image transfer by bulk' flag. Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/sq905c.c')
-rw-r--r--linux/drivers/media/video/gspca/sq905c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/sq905c.c b/linux/drivers/media/video/gspca/sq905c.c
index 0bcb74a1b..916892505 100644
--- a/linux/drivers/media/video/gspca/sq905c.c
+++ b/linux/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;
}