[media] s5p-g2d: fixed a bug in controls setting function
authorKamil Debski <k.debski@samsung.com>
Mon, 2 Jan 2012 12:19:25 +0000 (09:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 18 Jan 2012 00:54:23 +0000 (22:54 -0200)
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>
drivers/media/video/s5p-g2d/g2d.c

index c40b0dde188353eb9dba6b9f88e894c7f586d4c3..febaa673d3635c019011ff174c70eee17818de17 100644 (file)
@@ -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;