提交 4c4ed226 编写于 作者: K Kamil Debski 提交者: Mauro Carvalho Chehab

[media] s5p-fimc: Fix control creation function

Fixed the size of the V4L2_CID_COLORFX control cluster.
Prior to this fix V4L2_CID_ROTATE was also icluded in
the cluster preventing application from enabling rotation.
Reported-by: NMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: NKamil Debski <k.debski@samsung.com>
Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 618a2a3a
...@@ -615,7 +615,7 @@ int fimc_ctrls_create(struct fimc_ctx *ctx) ...@@ -615,7 +615,7 @@ int fimc_ctrls_create(struct fimc_ctx *ctx)
ctx->effect.type = FIMC_REG_CIIMGEFF_FIN_BYPASS; ctx->effect.type = FIMC_REG_CIIMGEFF_FIN_BYPASS;
if (!handler->error) { if (!handler->error) {
v4l2_ctrl_cluster(3, &ctrls->colorfx); v4l2_ctrl_cluster(2, &ctrls->colorfx);
ctrls->ready = true; ctrls->ready = true;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册