From: Laurent Pinchart Date: Sun, 15 Nov 2015 23:51:01 +0000 (-0200) Subject: [media] v4l: vsp1: Fix BRU try compose rectangle storage X-Git-Tag: v4.7-rc1~130^2~117 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=21b3d7365f4fa7865568823ba844ce056c1fcf9b;p=karo-tx-linux.git [media] v4l: vsp1: Fix BRU try compose rectangle storage Fix a typo that stored the try compose rectangle in the crop rectangle. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/vsp1/vsp1_bru.c b/drivers/media/platform/vsp1/vsp1_bru.c index 2ca80d3dda1f..d8b7bdeb5af5 100644 --- a/drivers/media/platform/vsp1/vsp1_bru.c +++ b/drivers/media/platform/vsp1/vsp1_bru.c @@ -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: