summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/sq905.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-04-21 18:45:56 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 23:20:54 +0200
commit6929dc6b30dc3a6c9c411f677a11b866e8dd28aa (patch)
treedd2f5706fd72990a9bf829665335c8942f64053a /drivers/media/video/gspca/sq905.c
parentV4L/DVB (11709): gspca - zc3xx: Bad debug level in i2c_read (diff)
downloadlinux-6929dc6b30dc3a6c9c411f677a11b866e8dd28aa.tar.xz
linux-6929dc6b30dc3a6c9c411f677a11b866e8dd28aa.zip
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/sq905.c')
-rw-r--r--drivers/media/video/gspca/sq905.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/sq905.c b/drivers/media/video/gspca/sq905.c
index 2e1cdf068fda..715a68f0156e 100644
--- a/drivers/media/video/gspca/sq905.c
+++ b/drivers/media/video/gspca/sq905.c
@@ -309,6 +309,7 @@ static int sd_config(struct gspca_dev *gspca_dev,
struct sd *dev = (struct sd *) gspca_dev;
/* We don't use the buffer gspca allocates so make it small. */
+ cam->bulk = 1;
cam->bulk_size = 64;
INIT_WORK(&dev->work_struct, sq905_dostream);