mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
[media] s5p-g2d: fixed a bug in controls setting function
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>
This commit is contained in:
parent
0da0a78338
commit
7f6cce69e2
@ -184,6 +184,7 @@ static int g2d_s_ctrl(struct v4l2_ctrl *ctrl)
|
||||
ctx->rop = ROP4_INVERT;
|
||||
else
|
||||
ctx->rop = ROP4_COPY;
|
||||
break;
|
||||
default:
|
||||
v4l2_err(&ctx->dev->v4l2_dev, "unknown control\n");
|
||||
return -EINVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user