* [PATCH] media: sun6i-csi: bridge: Remove duplicate mbus format entries
@ 2026-05-27 12:45 Arash Golgol
2026-05-28 7:41 ` Paul Kocialkowski
0 siblings, 1 reply; 3+ messages in thread
From: Arash Golgol @ 2026-05-27 12:45 UTC (permalink / raw)
To: linux-media
Cc: paulk, yong.deng, mchehab, wens, jernej.skrabec, samuel,
laurent.pinchart, linux-arm-kernel, linux-sunxi, Arash Golgol
The driver reports MEDIA_BUS_FMT_UYVY8_2X8 and
MEDIA_BUS_FMT_UYVY8_1X16 twice when enumerating supported media bus
codes.
Remove the duplicated entries from sun6i_csi_bridge_formats[].
Signed-off-by: Arash Golgol <arash.golgol@gmail.com>
---
.../platform/sunxi/sun6i-csi/sun6i_csi_bridge.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
index d006d9dd0170..0bec0cd7620e 100644
--- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
+++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
@@ -113,12 +113,6 @@ static const struct sun6i_csi_bridge_format sun6i_csi_bridge_formats[] = {
.input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_YVYU,
.input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_YUYV,
},
- {
- .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
- .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
- .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_UYVY,
- .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_VYUY,
- },
{
.mbus_code = MEDIA_BUS_FMT_VYUY8_2X8,
.input_format = SUN6I_CSI_INPUT_FMT_YUV422,
@@ -143,12 +137,6 @@ static const struct sun6i_csi_bridge_format sun6i_csi_bridge_formats[] = {
.input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_YVYU,
.input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_YUYV,
},
- {
- .mbus_code = MEDIA_BUS_FMT_UYVY8_1X16,
- .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
- .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_UYVY,
- .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_VYUY,
- },
{
.mbus_code = MEDIA_BUS_FMT_VYUY8_1X16,
.input_format = SUN6I_CSI_INPUT_FMT_YUV422,
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] media: sun6i-csi: bridge: Remove duplicate mbus format entries
2026-05-27 12:45 [PATCH] media: sun6i-csi: bridge: Remove duplicate mbus format entries Arash Golgol
@ 2026-05-28 7:41 ` Paul Kocialkowski
2026-07-11 12:26 ` arash golgol
0 siblings, 1 reply; 3+ messages in thread
From: Paul Kocialkowski @ 2026-05-28 7:41 UTC (permalink / raw)
To: Arash Golgol
Cc: linux-media, yong.deng, mchehab, wens, jernej.skrabec, samuel,
laurent.pinchart, linux-arm-kernel, linux-sunxi
[-- Attachment #1: Type: text/plain, Size: 2222 bytes --]
Hi Arash,
On Wed 27 May 26, 16:15, Arash Golgol wrote:
> The driver reports MEDIA_BUS_FMT_UYVY8_2X8 and
> MEDIA_BUS_FMT_UYVY8_1X16 twice when enumerating supported media bus
> codes.
>
> Remove the duplicated entries from sun6i_csi_bridge_formats[].
Looks good to me, thanks for taking care of this!
> Signed-off-by: Arash Golgol <arash.golgol@gmail.com>
Reviewed-by: Paul Kocialkowski <paulk@sys-base.io>
All the best,
Paul
> ---
> .../platform/sunxi/sun6i-csi/sun6i_csi_bridge.c | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
> index d006d9dd0170..0bec0cd7620e 100644
> --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
> +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
> @@ -113,12 +113,6 @@ static const struct sun6i_csi_bridge_format sun6i_csi_bridge_formats[] = {
> .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_YVYU,
> .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_YUYV,
> },
> - {
> - .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
> - .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
> - .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_UYVY,
> - .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_VYUY,
> - },
> {
> .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8,
> .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
> @@ -143,12 +137,6 @@ static const struct sun6i_csi_bridge_format sun6i_csi_bridge_formats[] = {
> .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_YVYU,
> .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_YUYV,
> },
> - {
> - .mbus_code = MEDIA_BUS_FMT_UYVY8_1X16,
> - .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
> - .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_UYVY,
> - .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_VYUY,
> - },
> {
> .mbus_code = MEDIA_BUS_FMT_VYUY8_1X16,
> .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
> --
> 2.34.1
>
--
Paul Kocialkowski,
Independent contractor - sys-base - https://www.sys-base.io/
Free software developer - https://www.paulk.fr/
Expert in multimedia, graphics and embedded hardware support with Linux.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] media: sun6i-csi: bridge: Remove duplicate mbus format entries
2026-05-28 7:41 ` Paul Kocialkowski
@ 2026-07-11 12:26 ` arash golgol
0 siblings, 0 replies; 3+ messages in thread
From: arash golgol @ 2026-07-11 12:26 UTC (permalink / raw)
To: Paul Kocialkowski
Cc: linux-media, yong.deng, mchehab, wens, jernej.skrabec, samuel,
laurent.pinchart, linux-arm-kernel, linux-sunxi
Hi,
On Thu, May 28, 2026 at 11:11 AM Paul Kocialkowski <paulk@sys-base.io> wrote:
>
> Hi Arash,
>
> On Wed 27 May 26, 16:15, Arash Golgol wrote:
> > The driver reports MEDIA_BUS_FMT_UYVY8_2X8 and
> > MEDIA_BUS_FMT_UYVY8_1X16 twice when enumerating supported media bus
> > codes.
> >
> > Remove the duplicated entries from sun6i_csi_bridge_formats[].
>
> Looks good to me, thanks for taking care of this!
>
> > Signed-off-by: Arash Golgol <arash.golgol@gmail.com>
>
> Reviewed-by: Paul Kocialkowski <paulk@sys-base.io>
I'd like to gently follow up on this patch.
> All the best,
>
> Paul
>
> > ---
> > .../platform/sunxi/sun6i-csi/sun6i_csi_bridge.c | 12 ------------
> > 1 file changed, 12 deletions(-)
> >
> > diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
> > index d006d9dd0170..0bec0cd7620e 100644
> > --- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
> > +++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi_bridge.c
> > @@ -113,12 +113,6 @@ static const struct sun6i_csi_bridge_format sun6i_csi_bridge_formats[] = {
> > .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_YVYU,
> > .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_YUYV,
> > },
> > - {
> > - .mbus_code = MEDIA_BUS_FMT_UYVY8_2X8,
> > - .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
> > - .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_UYVY,
> > - .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_VYUY,
> > - },
> > {
> > .mbus_code = MEDIA_BUS_FMT_VYUY8_2X8,
> > .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
> > @@ -143,12 +137,6 @@ static const struct sun6i_csi_bridge_format sun6i_csi_bridge_formats[] = {
> > .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_YVYU,
> > .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_YUYV,
> > },
> > - {
> > - .mbus_code = MEDIA_BUS_FMT_UYVY8_1X16,
> > - .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
> > - .input_yuv_seq = SUN6I_CSI_INPUT_YUV_SEQ_UYVY,
> > - .input_yuv_seq_invert = SUN6I_CSI_INPUT_YUV_SEQ_VYUY,
> > - },
> > {
> > .mbus_code = MEDIA_BUS_FMT_VYUY8_1X16,
> > .input_format = SUN6I_CSI_INPUT_FMT_YUV422,
> > --
> > 2.34.1
> >
>
> --
> Paul Kocialkowski,
>
> Independent contractor - sys-base - https://www.sys-base.io/
> Free software developer - https://www.paulk.fr/
>
> Expert in multimedia, graphics and embedded hardware support with Linux.
--
Regards,
Arash Golgol
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-07-11 13:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-27 12:45 [PATCH] media: sun6i-csi: bridge: Remove duplicate mbus format entries Arash Golgol
2026-05-28 7:41 ` Paul Kocialkowski
2026-07-11 12:26 ` arash golgol
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox