Commit 21b3d736 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

[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: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 52434534
...@@ -228,7 +228,8 @@ static struct v4l2_rect *bru_get_compose(struct vsp1_bru *bru, ...@@ -228,7 +228,8 @@ static struct v4l2_rect *bru_get_compose(struct vsp1_bru *bru,
{ {
switch (which) { switch (which) {
case V4L2_SUBDEV_FORMAT_TRY: 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: case V4L2_SUBDEV_FORMAT_ACTIVE:
return &bru->inputs[pad].compose; return &bru->inputs[pad].compose;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment