diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-04-21 13:45:56 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 18:20:54 -0300 |
commit | 6929dc6b30dc3a6c9c411f677a11b866e8dd28aa (patch) | |
tree | dd2f5706fd72990a9bf829665335c8942f64053a /drivers/media/video/gspca/ov534.c | |
parent | 0b119b7bf4612d6de6638a0babe93c1d8509a838 (diff) | |
download | talos-op-linux-6929dc6b30dc3a6c9c411f677a11b866e8dd28aa.tar.gz talos-op-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/ov534.c')
-rw-r--r-- | drivers/media/video/gspca/ov534.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/ov534.c b/drivers/media/video/gspca/ov534.c index 19e0bc60de14..92ab92e4c79f 100644 --- a/drivers/media/video/gspca/ov534.c +++ b/drivers/media/video/gspca/ov534.c @@ -708,8 +708,11 @@ static int sd_config(struct gspca_dev *gspca_dev, cam->cam_mode = vga_mode; cam->nmodes = ARRAY_SIZE(vga_mode); - cam->bulk_size = 16384; - cam->bulk_nurbs = 2; + if (sd->sensor == SENSOR_OV772X) { + cam->bulk = 1; + cam->bulk_size = 16384; + cam->bulk_nurbs = 2; + } return 0; } |