]> 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)
commitd652c21b1aadd2d2d236bb4ba1fc900d25dd5b48
tree2f90f33f246fc2d076054ba22eb031bcf9f8a9d4
parentf7d455e15f17144594121a10143a0f7ed99c6944
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