From: Kamil Debski Date: Mon, 2 Jan 2012 12:19:25 +0000 (-0300) Subject: [media] s5p-g2d: fixed a bug in controls setting function X-Git-Tag: upstream/snapshot3+hdmi~7520^2~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f6cce69e2667fdf0ee978641ee4325ea05ce3f8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [media] s5p-g2d: fixed a bug in controls setting function Signed-off-by: Kamil Debski Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/s5p-g2d/g2d.c b/drivers/media/video/s5p-g2d/g2d.c index c40b0dd..febaa67 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;