struct mutex mutex; /* protects buffers and mainqueue */
spinlock_t irqlock; /* protects irqqueue */
+ wait_queue_head_t wait; /* wait if mainqueue is empty */
+
struct list_head mainqueue;
struct list_head irqqueue;
+
};
struct uvc_video_chain {
unsigned int urb_size;
__u8 last_fid;
+
+ struct tasklet_struct *tasklet[UVC_URBS]; /* ddl@rock-chips.com */
};
enum uvc_device_state {