aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Debski <[email protected]>2012-01-02 09:19:25 -0300
committerMauro Carvalho Chehab <[email protected]>2012-01-17 22:54:23 -0200
commit7f6cce69e2667fdf0ee978641ee4325ea05ce3f8 (patch)
treec9fa1472d0b61260b1822d0346229da20015c634
parent0da0a7833824b51488b81db002bb47ad8688f9bb (diff)
[media] s5p-g2d: fixed a bug in controls setting function
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]>
-rw-r--r--drivers/media/video/s5p-g2d/g2d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/s5p-g2d/g2d.c b/drivers/media/video/s5p-g2d/g2d.c
index c40b0dde1883..febaa673d363 100644
--- a/drivers/media/video/s5p-g2d/g2d.c
+++ b/drivers/media/video/s5p-g2d/g2d.c
@@ -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;