projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e993c4
)
MLK-11618: pxp output: Fix warning message
author
Sandor Yu
<R01008@freescale.com>
Thu, 24 Sep 2015 06:52:02 +0000
(14:52 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:42 +0000
(14:48 -0500)
Fill device_caps in pxp output driver.
Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/media/platform/mxc/output/mxc_pxp_v4l2.c
patch
|
blob
|
history
diff --git
a/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c
b/drivers/media/platform/mxc/output/mxc_pxp_v4l2.c
index
1c74af7
..
005bb92
100644
(file)
--- a/
drivers/media/platform/mxc/output/mxc_pxp_v4l2.c
+++ b/
drivers/media/platform/mxc/output/mxc_pxp_v4l2.c
@@
-954,9
+954,9
@@
static int pxp_querycap(struct file *file, void *fh,
cap->version = (PXP_DRIVER_MAJOR << 8) + PXP_DRIVER_MINOR;
- cap->
capabilities =
V4L2_CAP_VIDEO_OUTPUT |
- V4L2_CAP_VIDEO_OUTPUT_OVERLAY
|
-
V4L2_CAP_STREAMING
;
+ cap->
device_caps = V4L2_CAP_STREAMING |
V4L2_CAP_VIDEO_OUTPUT |
+ V4L2_CAP_VIDEO_OUTPUT_OVERLAY
;
+
cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS
;
return 0;
}