aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-02-02 14:27:54 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-10-18 22:58:45 +0200
commit914c713fc11f045ea48805b9636df8bdc4c3823e (patch)
tree3a01b21b5aa7a9465b19d94403d533499994a8e6 /drivers/media/usb/uvc/uvcvideo.h
parent23c4919c6fd15e76fe245ad0158f8739a3fa0747 (diff)
uvcvideo: Disable USB autosuspend for Creative Live! Cam Optia AFuvcvideo-creative
The camera fails to start video streaming after having been autosuspend. Add a new quirk to selectively disable autosuspend for devices that don't support it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvcvideo.h')
-rw-r--r--drivers/media/usb/uvc/uvcvideo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h
index 9e35982d099a..eb90a92d0781 100644
--- a/drivers/media/usb/uvc/uvcvideo.h
+++ b/drivers/media/usb/uvc/uvcvideo.h
@@ -137,6 +137,7 @@
#define UVC_QUIRK_FIX_BANDWIDTH 0x00000080
#define UVC_QUIRK_PROBE_DEF 0x00000100
#define UVC_QUIRK_RESTRICT_FRAME_RATE 0x00000200
+#define UVC_QUIRK_DISABLE_AUTOSUSPEND 0x00000400
/* Format flags */
#define UVC_FMT_FLAG_COMPRESSED 0x00000001

Privacy Policy