Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -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: