Skip to content

Commit

Permalink
[media] s5p-fimc: Fix control creation function
Browse files Browse the repository at this point in the history
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: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Kamil Debski authored and Mauro Carvalho Chehab committed Jun 18, 2012
1 parent 618a2a3 commit 4c4ed22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/s5p-fimc/fimc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ int fimc_ctrls_create(struct fimc_ctx *ctx)
ctx->effect.type = FIMC_REG_CIIMGEFF_FIN_BYPASS;

if (!handler->error) {
v4l2_ctrl_cluster(3, &ctrls->colorfx);
v4l2_ctrl_cluster(2, &ctrls->colorfx);
ctrls->ready = true;
}

Expand Down

0 comments on commit 4c4ed22

Please sign in to comment.