diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-09-29 10:57:32 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 13:37:12 +0200 |
commit | 95d9142c8b250b2ce0e0a283fdf54d899dcc4f3e (patch) | |
tree | afd70aa9b5be5076e43d167dd9fe42784287ae51 /drivers/media/video/gspca/gspca.h | |
parent | V4L/DVB (9086): gspca: Use a kref to avoid potentialy blocking forever in dis... (diff) | |
download | linux-95d9142c8b250b2ce0e0a283fdf54d899dcc4f3e.tar.xz linux-95d9142c8b250b2ce0e0a283fdf54d899dcc4f3e.zip |
V4L/DVB (9087): gspca: Image transfer by bulk uses altsetting 0 with any buffer size.
- gspca_dev field 'bulk_size' added.
- when only one altsetting usable, do image transfer by bulk.
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/gspca.h')
-rw-r--r-- | drivers/media/video/gspca/gspca.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h index 192dffdcd9cd..f9006542c58f 100644 --- a/drivers/media/video/gspca/gspca.h +++ b/drivers/media/video/gspca/gspca.h @@ -56,6 +56,7 @@ extern int gspca_debug; /* device information - set at probe time */ struct cam { + int bulk_size; /* buffer size when image transfer by bulk */ struct v4l2_pix_format *cam_mode; /* size nmodes */ char nmodes; __u8 epaddr; @@ -144,7 +145,6 @@ struct gspca_dev { __u8 iface; /* USB interface number */ __u8 alt; /* USB alternate setting */ - __u8 bulk; /* image transfer by isoc (0) or bulk (1) */ __u8 curr_mode; /* current camera mode */ __u32 pixfmt; /* current mode parameters */ __u16 width; |