From 2276ee410b97742f3bd85d882c8d4a758a0a0e0b Mon Sep 17 00:00:00 2001 From: David Plowman Date: Tue, 10 Jan 2023 13:14:27 +0000 Subject: [PATCH 555/726] drivers: media: i2c: imx708: Fix crop information The 1536x864 mode contained incorrect crop information. Signed-off-by: David Plowman --- drivers/media/i2c/imx708.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/i2c/imx708.c b/drivers/media/i2c/imx708.c index ee80035462d7..7c76fa0c0dc9 100644 --- a/drivers/media/i2c/imx708.c +++ b/drivers/media/i2c/imx708.c @@ -673,10 +673,10 @@ static const struct imx708_mode supported_modes_10bit_no_hdr[] = { .height = 864, .line_length_pix = 0x1460, .crop = { - .left = IMX708_PIXEL_ARRAY_LEFT, - .top = IMX708_PIXEL_ARRAY_TOP, - .width = 4608, - .height = 2592, + .left = IMX708_PIXEL_ARRAY_LEFT + 768, + .top = IMX708_PIXEL_ARRAY_TOP + 432, + .width = 3072, + .height = 1728, }, .vblank_min = 40, .vblank_default = 2755, -- 2.33.1