]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar-vin: Create compose rectangle where it is used
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tue, 8 Oct 2019 23:22:01 +0000 (20:22 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 10 Oct 2019 10:24:28 +0000 (07:24 -0300)
commita4fa6f10e6990c12b095866863fd417788869d23
tree2f90f33f246fc2d076054ba22eb031bcf9f8a9d4
parentbf1635852dc051670cd516c99d880d5a57def736
media: rcar-vin: Create compose rectangle where it is used

The rectangle used to correct the compose settings when changing the
format was created inside a helper function and not where it was used.
This is confusing and makes the code harder to read, fix this.

This cleanup is made possible due to refactoring elsewhere and there is
no functional change.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/rcar-vin/rcar-v4l2.c