]> asedeno.scripts.mit.edu Git - linux.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)
commitdbb8d05a9d11651c47035653b5b813f2fa55ba80
tree2f90f33f246fc2d076054ba22eb031bcf9f8a9d4
parentaacbd4ff3a8b2fb10576497571a51ff85d24bbb0
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