diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-04-21 12:45:56 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:54 -0400 |
commit | 6929dc6b30dc3a6c9c411f677a11b866e8dd28aa (patch) | |
tree | dd2f5706fd72990a9bf829665335c8942f64053a /drivers/media/video/gspca/ov534.c | |
parent | 0b119b7bf4612d6de6638a0babe93c1d8509a838 (diff) |
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, | |||
708 | cam->cam_mode = vga_mode; | 708 | cam->cam_mode = vga_mode; |
709 | cam->nmodes = ARRAY_SIZE(vga_mode); | 709 | cam->nmodes = ARRAY_SIZE(vga_mode); |
710 | 710 | ||
711 | cam->bulk_size = 16384; | 711 | if (sd->sensor == SENSOR_OV772X) { |
712 | cam->bulk_nurbs = 2; | 712 | cam->bulk = 1; |
713 | cam->bulk_size = 16384; | ||
714 | cam->bulk_nurbs = 2; | ||
715 | } | ||
713 | 716 | ||
714 | return 0; | 717 | return 0; |
715 | } | 718 | } |