linux-stable/drivers/media/platform/rcar-vin
Niklas Söderlund 3997716898 media: rcar-vin: fix crop and compose handling for Gen3
When refactoring the Gen3 enablement series crop and compose handling
where broken. This went unnoticed but can result in writing out side the
capture buffer. Fix this by restoring the crop and compose to reflect
the format dimensions as we have not yet enabled the scaler for Gen3.

Fixes: 5e7c623632 ("media: rcar-vin: use different v4l2 operations in media controller mode")

Reported-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-05-11 11:39:51 -04:00
..
Kconfig media: rcar-vin: enable support for r8a7795 2018-04-20 10:44:25 -04:00
Makefile
rcar-core.c media: rcar-vin: add support for MEDIA_BUS_FMT_UYVY8_1X16 2018-05-05 10:27:45 -04:00
rcar-dma.c media: Revert "media: rcar-vin: enable field toggle after a set number of lines for Gen3" 2018-05-11 11:39:32 -04:00
rcar-v4l2.c media: rcar-vin: fix crop and compose handling for Gen3 2018-05-11 11:39:51 -04:00
rcar-vin.h media: rcar-vin: parse Gen3 OF and setup media graph 2018-04-20 10:23:39 -04:00