From: Tomi Valkeinen Date: Mon, 20 Jan 2025 13:10:34 +0000 (+0200) Subject: media: rcar-csi2: Move Y8 entry to a better place X-Git-Tag: v6.15-rc1~174^2~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc2022cbb961f6447f84cec502d25e9cc6041827;p=thirdparty%2Fkernel%2Flinux.git media: rcar-csi2: Move Y8 entry to a better place Move the Y8 entry before Y10, so that the entries are in a bit more logical order. Signed-off-by: Tomi Valkeinen Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/renesas/rcar-csi2.c b/drivers/media/platform/renesas/rcar-csi2.c index 0a53dd47d7bf2..be930ebca3f56 100644 --- a/drivers/media/platform/renesas/rcar-csi2.c +++ b/drivers/media/platform/renesas/rcar-csi2.c @@ -636,6 +636,10 @@ static const struct rcar_csi2_format rcar_csi2_formats[] = { .code = MEDIA_BUS_FMT_YUYV10_2X10, .datatype = MIPI_CSI2_DT_YUV422_8B, .bpp = 20, + }, { + .code = MEDIA_BUS_FMT_Y8_1X8, + .datatype = MIPI_CSI2_DT_RAW8, + .bpp = 8, }, { .code = MEDIA_BUS_FMT_Y10_1X10, .datatype = MIPI_CSI2_DT_RAW10, @@ -656,10 +660,6 @@ static const struct rcar_csi2_format rcar_csi2_formats[] = { .code = MEDIA_BUS_FMT_SRGGB8_1X8, .datatype = MIPI_CSI2_DT_RAW8, .bpp = 8, - }, { - .code = MEDIA_BUS_FMT_Y8_1X8, - .datatype = MIPI_CSI2_DT_RAW8, - .bpp = 8, }, };