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

Message ID 20200216105105.3751688-6-jacopo+renesas@jmondi.org
State New
Delegated to: Kieran Bingham
Headers show
Series
  • RDACM20 and RDACM21 GMSL camera support
Related show

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(-)

Patch
diff mbox series

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;