summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc/uvcvideo.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-01-23 10:30:20 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 19:11:04 +0100
commit59529081e092506edb81a42d914e2d0522f65ca7 (patch)
tree237632dbcf3c1da3443b316a3b66969c9db8514a /drivers/media/video/uvc/uvcvideo.h
parentV4L/DVB: uvcvideo: Return -ERANGE when setting a control to an out-of-range m... (diff)
downloadlinux-59529081e092506edb81a42d914e2d0522f65ca7.tar.xz
linux-59529081e092506edb81a42d914e2d0522f65ca7.zip
V4L/DVB: uvcvideo: Cache control min, max, res and def query results
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/uvc/uvcvideo.h b/drivers/media/video/uvc/uvcvideo.h
index 0c7966fdb83d..2bba059259e6 100644
--- a/drivers/media/video/uvc/uvcvideo.h
+++ b/drivers/media/video/uvc/uvcvideo.h
@@ -245,7 +245,8 @@ struct uvc_control {
uvc_control_info. */
__u8 dirty : 1,
loaded : 1,
- modified : 1;
+ modified : 1,
+ cached : 1;
__u8 *data;
};