projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b710b
)
MLK-21437-2 VPU Decoder: add new v4l2_s_ctrl for adjust vpu_frm_depth
author
Shijie Qin
<shijie.qin@nxp.com>
Thu, 18 Apr 2019 06:29:49 +0000
(14:29 +0800)
committer
Shijie Qin
<shijie.qin@nxp.com>
Mon, 22 Apr 2019 09:45:32 +0000
(17:45 +0800)
the default value should be vpu_frm_depth when init
Signed-off-by: Shijie Qin <shijie.qin@nxp.com>
drivers/mxc/vpu_malone/vpu_b0.c
patch
|
blob
|
history
diff --git
a/drivers/mxc/vpu_malone/vpu_b0.c
b/drivers/mxc/vpu_malone/vpu_b0.c
index
09ff672
..
8b2a318
100644
(file)
--- a/
drivers/mxc/vpu_malone/vpu_b0.c
+++ b/
drivers/mxc/vpu_malone/vpu_b0.c
@@
-1674,7
+1674,7
@@
static int add_custom_ctrl(struct vpu_ctx *This)
cfg.min = -1;
cfg.max = 999;
cfg.step = 1;
- cfg.def =
-1
;
+ cfg.def =
vpu_frm_depth
;
cfg.type = V4L2_CTRL_TYPE_INTEGER;
ctrl = v4l2_ctrl_new_custom(&This->ctrl_handler,