diff options
Diffstat (limited to 'drivers/media/video/uvc/uvcvideo.h')
-rw-r--r-- | drivers/media/video/uvc/uvcvideo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/uvc/uvcvideo.h b/drivers/media/video/uvc/uvcvideo.h index bafe3406e305..9a6bc1aafb16 100644 --- a/drivers/media/video/uvc/uvcvideo.h +++ b/drivers/media/video/uvc/uvcvideo.h | |||
@@ -303,6 +303,8 @@ struct uvc_xu_control { | |||
303 | #define UVC_MAX_FRAME_SIZE (16*1024*1024) | 303 | #define UVC_MAX_FRAME_SIZE (16*1024*1024) |
304 | /* Maximum number of video buffers. */ | 304 | /* Maximum number of video buffers. */ |
305 | #define UVC_MAX_VIDEO_BUFFERS 32 | 305 | #define UVC_MAX_VIDEO_BUFFERS 32 |
306 | /* Maximum status buffer size in bytes of interrupt URB. */ | ||
307 | #define UVC_MAX_STATUS_SIZE 16 | ||
306 | 308 | ||
307 | #define UVC_CTRL_CONTROL_TIMEOUT 300 | 309 | #define UVC_CTRL_CONTROL_TIMEOUT 300 |
308 | #define UVC_CTRL_STREAMING_TIMEOUT 1000 | 310 | #define UVC_CTRL_STREAMING_TIMEOUT 1000 |
@@ -634,7 +636,7 @@ struct uvc_device { | |||
634 | /* Status Interrupt Endpoint */ | 636 | /* Status Interrupt Endpoint */ |
635 | struct usb_host_endpoint *int_ep; | 637 | struct usb_host_endpoint *int_ep; |
636 | struct urb *int_urb; | 638 | struct urb *int_urb; |
637 | __u8 status[16]; | 639 | __u8 *status; |
638 | struct input_dev *input; | 640 | struct input_dev *input; |
639 | 641 | ||
640 | /* Video Streaming interfaces */ | 642 | /* Video Streaming interfaces */ |