diff mbox series

[v7,5/6] media: i2c: max9286: Adjust image format size

Message ID 20200216105105.3751688-6-jacopo+renesas@jmondi.org (mailing list archive)
State New
Delegated to: Kieran Bingham
Headers show
Series RDACM20 and RDACM21 GMSL camera support | expand

Commit Message

Jacopo Mondi Feb. 16, 2020, 10:51 a.m. UTC
RDACM21 provides 1280x1080 images. Reflect this in the format reported
by the V4L2 APIs.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>

---
   v7: new patch
---
 drivers/media/i2c/max9286.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c
index dd3bfb3c59b7..730ce4fd033e 100644
--- a/drivers/media/i2c/max9286.c
+++ b/drivers/media/i2c/max9286.c
@@ -842,7 +842,7 @@  static const struct v4l2_subdev_ops max9286_subdev_ops = {
 static void max9286_init_format(struct v4l2_mbus_framefmt *fmt)
 {
 	fmt->width		= 1280;
-	fmt->height		= 800;
+	fmt->height		= 1080;
 	fmt->code		= MEDIA_BUS_FMT_UYVY8_2X8;
 	fmt->colorspace		= V4L2_COLORSPACE_SRGB;
 	fmt->field		= V4L2_FIELD_NONE;