media: i2c: imx274: Fix Y_OUT_SIZE register setting
authorSowjanya Komatineni <skomatineni@nvidia.com>
Mon, 21 Sep 2020 21:39:37 +0000 (23:39 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:12 +0000 (10:31 +0100)
commitc87bfb6240598a150efa536d2717ced2f409fe5e
tree69cc1e819f37ca51ae8829ea24c8112ebac8f3c4
parent51a4756519eabb67c8bb94746462b3d4e72213ce
media: i2c: imx274: Fix Y_OUT_SIZE register setting

As per Sony IMX274 Y_OUT_SIZE should be the height of effective
image output from the sensor which are the actual total lines
sent over MIPI CSI to receiver.

So, Y_OUT_SIZE should be same as crop height and this patch fixes it.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx274.c