summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2012-11-08 18:11:50 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-12-22 21:11:42 +0100
commit7312f2c9fa22614acc787c064a0865840888d662 (patch)
treedf55aba98889121a8f37c3b1e429c899e5d9832a /drivers/media/usb
parent[media] em28xx: rename some USB parameter fields in struct em28xx to clarify ... (diff)
downloadlinux-7312f2c9fa22614acc787c064a0865840888d662.tar.xz
linux-7312f2c9fa22614acc787c064a0865840888d662.zip
[media] em28xx: add fields for analog and DVB USB transfer type selection to struct em28xx
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb')
-rw-r--r--drivers/media/usb/em28xx/em28xx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h
index 6b8d3e6b6920..f5be5229f304 100644
--- a/drivers/media/usb/em28xx/em28xx.h
+++ b/drivers/media/usb/em28xx/em28xx.h
@@ -588,9 +588,13 @@ struct em28xx {
int max_pkt_size; /* max packet size of the selected ep at alt */
int num_alt; /* number of alternative settings */
unsigned int *alt_max_pkt_size_isoc; /* array of isoc wMaxPacketSize */
+ unsigned int analog_xfer_bulk:1; /* use bulk instead of isoc
+ transfers for analog */
int dvb_alt_isoc; /* alternate setting for DVB isoc transfers */
unsigned int dvb_max_pkt_size_isoc; /* isoc max packet size of the
selected DVB ep at dvb_alt */
+ unsigned int dvb_xfer_bulk:1; /* use bulk instead of isoc
+ transfers for DVB */
char urb_buf[URB_MAX_CTRL_SIZE]; /* urb control msg buffer */
/* helper funcs that call usb_control_msg */