Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Jacopo Mondi" <jacopo.mondi@ideasonboard.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org,
	media-ci@linuxtv.org, robh@kernel.org
Subject: Re: [PATCH v9 2/2] media: i2c: Add driver for AMS-OSRAM Mira220
Date: Mon, 27 Jul 2026 08:38:47 +0000	[thread overview]
Message-ID: <20260727083847.A25DE1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260727-mira220-v9-2-e869e7ec2040@ideasonboard.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Unused `fmt` field in `struct mira220`.
--

--- Patch [2]: [PATCH v9 2/2] media: i2c: Add driver for AMS-OSRAM Mira220 ---
commit 1a645456404fc78085c443f892a4b50ad94cb5ab
Author: Philippe Baetens <philippebaetens@gmail.com>
Subject: media: i2c: Add driver for AMS-OSRAM Mira220

This commit adds a V4L2 subdev driver for the AMS-OSRAM Mira220 image sensor.
The sensor is a global shutter imager supporting monochrome and RGB formats.
It implements MIPI CSI-2 output with data rates up to 1500Mbit/s per lane.

> diff --git a/drivers/media/i2c/mira220.c b/drivers/media/i2c/mira220.c
> new file mode 100644
> index 0000000000000..f977bc5988261
> --- /dev/null
> +++ b/drivers/media/i2c/mira220.c
[ ... ]
> +struct mira220 {
> +	struct v4l2_subdev sd;
> +	struct media_pad pad;
> +
> +	enum mira220_variants variant;
> +
> +	struct v4l2_mbus_framefmt fmt;

[Severity: Medium]
The commit log mentions "remove format from driver structure" under the v4->v5
changes, but it appears fmt is still present in struct mira220 and unused
throughout the driver. Is this a leftover that can be removed?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260727-mira220-v9-0-e869e7ec2040@ideasonboard.com?part=2

      reply	other threads:[~2026-07-27  8:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-27  8:26 [PATCH v9 0/2] (no cover subject) Jacopo Mondi
2026-07-27  8:26 ` [PATCH v9 1/2] dt-bindings: media: i2c: Add mira220 image sensor Jacopo Mondi
2026-07-27  8:36   ` sashiko-bot
2026-07-27  8:26 ` [PATCH v9 2/2] media: i2c: Add driver for AMS-OSRAM Mira220 Jacopo Mondi
2026-07-27  8:38   ` sashiko-bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260727083847.A25DE1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jacopo.mondi@ideasonboard.com \
    --cc=media-ci@linuxtv.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox