[media] v4l: vsp1: Fix BRU try compose rectangle storage
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 15 Nov 2015 23:51:01 +0000 (21:51 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 20:53:06 +0000 (17:53 -0300)
Fix a typo that stored the try compose rectangle in the crop rectangle.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_bru.c

index 2ca80d3dda1fa512e6771aa5b1e6421762e5e19d..d8b7bdeb5af5c33459e02e6e4197a2ed9437b08b 100644 (file)
@@ -228,7 +228,8 @@ static struct v4l2_rect *bru_get_compose(struct vsp1_bru *bru,
 {
        switch (which) {
        case V4L2_SUBDEV_FORMAT_TRY:
-               return v4l2_subdev_get_try_crop(&bru->entity.subdev, cfg, pad);
+               return v4l2_subdev_get_try_compose(&bru->entity.subdev, cfg,
+                                                  pad);
        case V4L2_SUBDEV_FORMAT_ACTIVE:
                return &bru->inputs[pad].compose;
        default:
This page took 0.02728 seconds and 5 git commands to generate.