From: "Vadillo, Miguel" <miguel.vadillo@intel.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: <linux-media@vger.kernel.org>, <wei.a.xu@intel.com>,
<atul.raut@intel.com>, <antti.laakso@linux.intel.com>,
<mehdi.djait@linux.intel.com>, <kieran.bingham@ideasonboard.com>
Subject: Re: [PATCH v4 0/3] media: i2c: cvs: Add Intel CVS driver
Date: Wed, 27 May 2026 07:23:32 -0700 [thread overview]
Message-ID: <0287950d-cae6-413b-8252-ecb40be11009@intel.com> (raw)
In-Reply-To: <ahay-Ej_RrrGzIrX@kekkonen.localdomain>
Hi Sakari,
On 5/27/26 2:01 AM, Sakari Ailus wrote:
> Hi Miguel,
>
> On Tue, May 26, 2026 at 09:29:30AM -0700, Vadillo, Miguel wrote:
>> Hi Sakari,
>>
>> Thanks for checking this.
>>
>> On 5/26/26 8:53 AM, Sakari Ailus wrote:
>>> Hi Miguel,
>>>
>>> On Mon, May 25, 2026 at 07:25:05PM -0700, Miguel Vadillo wrote:
>>>> Cover Letter
>>>> ------------
>>>>
>>>> This patch series introduces support for Intel Computer Vision Sensing
>>>> (CVS) devices found on Intel Luna Lake (LNL), Panther Lake (PTL), and
>>>> Arrow Lake (ARL) platforms.
>>>
>>> Thanks for the update. I got from Media CI:
>>>
>>> drivers/media/i2c/cvs/core.c:909:12: warning: ‘cvs_resume’ defined but not used [-Wunused-function]
>>> 909 | static int cvs_resume(struct device *dev)
>>> | ^~~~~~~~~~
>>> drivers/media/i2c/cvs/core.c:892:12: warning: ‘cvs_suspend’ defined but not used [-Wunused-function]
>>> 892 | static int cvs_suspend(struct device *dev)
>>> | ^~~~~~~~~~~
>>>
>>> I suppose this happens when CONFIG_PM isn't defined
>>> <URL:https://gitlab.freedesktop.org/linux-media/users/sailus/-/jobs/100763316/artifacts/file/artifacts/no-PM.config>?
>>
>> My bad, that seems to be the case with CONFIG_PM disabled:
>> this fix will be needed, I will prepare this and send an update, waiting in
>> case there are more comments..
>
> I think cvs_pm_ops also needs __maybe_unused.
I don't think so in this case, since I am using pm_ptr(...) for the
cvs_pm_ops, this should take care of the ~CONFIG_PM. Just to be sure I
recompiled with make drivers/media/i2c/cvs/ KCFLAGS="-UCONFIG_PM
-UCONFIG_PM_SLEEP -UCONFIG_SUSPEND" and no ERR/WARN were generated.
I will send and update with this change if no other comments..
>
--
regards,
Miguel
prev parent reply other threads:[~2026-05-27 14:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-26 2:25 [PATCH v4 0/3] media: i2c: cvs: Add Intel CVS driver Miguel Vadillo
2026-05-26 2:25 ` [PATCH v4 1/3] media: i2c: cvs: Add driver of Intel Computer Vision Sensing Controller(CVS) Miguel Vadillo
2026-05-26 2:25 ` [PATCH v4 2/3] media: pci: intel: Add CVS support for IPU bridge driver Miguel Vadillo
2026-05-26 2:25 ` [PATCH v4 3/3] ACPI: scan: Honor _DEP for Intel CVS devices Miguel Vadillo
2026-05-26 15:53 ` [PATCH v4 0/3] media: i2c: cvs: Add Intel CVS driver Sakari Ailus
2026-05-26 16:29 ` Vadillo, Miguel
2026-05-27 9:01 ` Sakari Ailus
2026-05-27 14:23 ` Vadillo, Miguel [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=0287950d-cae6-413b-8252-ecb40be11009@intel.com \
--to=miguel.vadillo@intel.com \
--cc=antti.laakso@linux.intel.com \
--cc=atul.raut@intel.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=mehdi.djait@linux.intel.com \
--cc=sakari.ailus@linux.intel.com \
--cc=wei.a.xu@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.