]> git.baikalelectronics.ru Git - kernel.git/commit
media: i2c: rdacm20: Fix format definition
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Wed, 16 Mar 2022 21:09:16 +0000 (22:09 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:18 +0000 (11:02 +0200)
commit59f4ece77a3d1a8b88c458653ef1fbd04de7c36b
treeb8cc043930feec93041f0abeed9b7959fe3adce1
parentd1e3a1504917b6246cbe3c09495e1352934f1d44
media: i2c: rdacm20: Fix format definition

The RDACM20 camera supports a single image format which is currently
listed as MEDIA_BUS_FMT_UYVY8_2X8. As the video stream is transmitted on
the GMSL serial bus, the 2X8 variant does not apply.

Fix the format by using MEDIA_BUS_FMT_UYVY8_1X16.

This fixes a runtime error which is now triggered as the MAX9286
deserializer implements .link_validate().

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/rdacm20.c