From: Dan Scally <dan.scally@ideasonboard.com>
To: Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Hans Verkuil <hverkuil+cisco@kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] media: mali-c55: Remove duplicated version check
Date: Wed, 17 Dec 2025 07:34:37 +0000 [thread overview]
Message-ID: <ca49e400-e24b-4817-8e8e-858623352c69@ideasonboard.com> (raw)
In-Reply-To: <20251215-mali-c55-header-update-for-v6-19-rc1-v1-2-69f56dee3c71@ideasonboard.com>
On 15/12/2025 13:20, Jacopo Mondi wrote:
> The Mali C55 driver uses the v4l2-isp framework, which performs
> validation of the parameters buffer versioning in the
> v4l2_isp_params_validate_buffer() function.
>
> It is not necessary to replicate the validation of the parameters buffer
> versioning in the platform-specific implementation.
>
> Remove it.
>
> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
> ---
> drivers/media/platform/arm/mali-c55/mali-c55-params.c | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/media/platform/arm/mali-c55/mali-c55-params.c b/drivers/media/platform/arm/mali-c55/mali-c55-params.c
> index 082cda4f4f63e880162896ff0f893cd774982d51..be0e909bcf29f62c01c75d711c21278faf7c9de5 100644
> --- a/drivers/media/platform/arm/mali-c55/mali-c55-params.c
> +++ b/drivers/media/platform/arm/mali-c55/mali-c55-params.c
> @@ -582,13 +582,6 @@ static int mali_c55_params_buf_prepare(struct vb2_buffer *vb)
> struct mali_c55 *mali_c55 = params->mali_c55;
> int ret;
>
> - if (config->version != MALI_C55_PARAM_BUFFER_V1) {
> - dev_dbg(mali_c55->dev,
> - "Unsupported extensible format version: %u\n",
> - config->version);
> - return -EINVAL;
> - }
> -
> ret = v4l2_isp_params_validate_buffer_size(mali_c55->dev, vb,
> v4l2_isp_params_buffer_size(MALI_C55_PARAMS_MAX_SIZE));
> if (ret)
>
next prev parent reply other threads:[~2025-12-17 7:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-15 13:20 [PATCH 0/3] media: mali-c55: Update uAPI headers for v6.19-rc1 Jacopo Mondi
2025-12-15 13:20 ` [PATCH 1/3] Documentation: media: mali-c55: Use v4l2-isp version identifier Jacopo Mondi
2025-12-16 12:38 ` Bryan O'Donoghue
2025-12-17 8:11 ` Jacopo Mondi
2025-12-17 9:50 ` Bryan O'Donoghue
2025-12-17 7:34 ` Dan Scally
2025-12-15 13:20 ` [PATCH 2/3] media: mali-c55: Remove duplicated version check Jacopo Mondi
2025-12-17 7:34 ` Dan Scally [this message]
2025-12-15 13:20 ` [PATCH 3/3] uapi: media: mali-c55-config: Remove version identifier Jacopo Mondi
2025-12-17 7:34 ` Dan Scally
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=ca49e400-e24b-4817-8e8e-858623352c69@ideasonboard.com \
--to=dan.scally@ideasonboard.com \
--cc=hverkuil+cisco@kernel.org \
--cc=jacopo.mondi@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/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
all inboxes | Powered by JetHome®