summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorKamil Debski <k.debski@samsung.com>2012-01-02 09:19:25 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-17 22:54:23 -0200
commit7f6cce69e2667fdf0ee978641ee4325ea05ce3f8 (patch)
treec9fa1472d0b61260b1822d0346229da20015c634 /drivers/media/video
parent0da0a7833824b51488b81db002bb47ad8688f9bb (diff)
downloadop-kernel-dev-7f6cce69e2667fdf0ee978641ee4325ea05ce3f8.zip
op-kernel-dev-7f6cce69e2667fdf0ee978641ee4325ea05ce3f8.tar.gz
[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>
Diffstat (limited to 'drivers/media/video')
-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 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;
OpenPOWER on IntegriCloud