mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[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: Marek Szyprowski <[email protected]> Signed-off-by: Kamil Debski <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
618a2a3a72
commit
4c4ed22632
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue