diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2009-07-19 17:39:56 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 11:18:09 -0400 |
commit | bab6f66c08043a93b9460f6e0bf2b1cd9cc03e53 (patch) | |
tree | e7866ec7df71b5e9e52373479308bad1dcafebf4 /drivers/media/video/uvc/uvcvideo.h | |
parent | 76594c5315d843fb1d3bffe7a8e2559086755f72 (diff) |
V4L/DVB (12327): uvcvideo: Add PROBE_DEF quirk and enable it for the MT6227 device
At least one MT6227 model crashes when receiving a GET_DEF request on the
video probe control. As the various models can't be told apart based on the
descriptors, add a PROBE_DEF quirk to avoid sending the GET_DEF request and
enable the quirk for all models.
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvcvideo.h')
-rw-r--r-- | drivers/media/video/uvc/uvcvideo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvcvideo.h b/drivers/media/video/uvc/uvcvideo.h index 5cf68f590725..fcccf9c9b7ba 100644 --- a/drivers/media/video/uvc/uvcvideo.h +++ b/drivers/media/video/uvc/uvcvideo.h | |||
@@ -156,6 +156,7 @@ struct uvc_xu_control { | |||
156 | #define UVC_QUIRK_STREAM_NO_FID 0x00000010 | 156 | #define UVC_QUIRK_STREAM_NO_FID 0x00000010 |
157 | #define UVC_QUIRK_IGNORE_SELECTOR_UNIT 0x00000020 | 157 | #define UVC_QUIRK_IGNORE_SELECTOR_UNIT 0x00000020 |
158 | #define UVC_QUIRK_FIX_BANDWIDTH 0x00000080 | 158 | #define UVC_QUIRK_FIX_BANDWIDTH 0x00000080 |
159 | #define UVC_QUIRK_PROBE_DEF 0x00000100 | ||
159 | 160 | ||
160 | /* Format flags */ | 161 | /* Format flags */ |
161 | #define UVC_FMT_FLAG_COMPRESSED 0x00000001 | 162 | #define UVC_FMT_FLAG_COMPRESSED 0x00000001 |