media: i2c: ov5645: Fix media bus format
authorJacopo Mondi <jacopo@jmondi.org>
Mon, 28 Mar 2022 16:32:20 +0000 (17:32 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 24 Apr 2022 07:14:38 +0000 (08:14 +0100)
commitba449bb56203aedc4530a82b0f3f83358808b7f2
tree7019622ce8f35f72e28d9fd063990162b00fe549
parent282b4d26076c773b3d906f0a6937a05cafaecc16
media: i2c: ov5645: Fix media bus format

The ov5645 driver reports as its unique supported format
MEDIA_BUS_FMT_UYVY8_2X8, which is not correct as the sensor
uses the MIPI CSI-2 serial bus.

Fix that by using MEDIA_BUS_FMT_UYVY8_1X16 instead.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov5645.c