From: Tommaso Merciai <tomm.merciai@gmail.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Martin Hecht <martin.hecht@avnet.eu>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
Sebastian Reichel <sre@kernel.org>,
Zhi Mao <zhi.mao@mediatek.com>,
Alain Volmat <alain.volmat@foss.st.com>,
Dave Stevenson <dave.stevenson@raspberrypi.com>,
Kieran Bingham <kieran.bingham@ideasonboard.com>,
Umang Jain <umang.jain@ideasonboard.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
Julien Massot <julien.massot@collabora.com>,
Bingbu Cao <bingbu.cao@intel.com>,
Jacopo Mondi <jacopo.mondi@ideasonboard.com>,
Nicholas Roth <nicholas@rothemail.net>,
Paul Elder <paul.elder@ideasonboard.com>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] media: v4l2-subdev: Drop HAS_EVENTS and event handlers
Date: Tue, 29 Oct 2024 23:12:06 +0100 [thread overview]
Message-ID: <ZyFdtsSe2lSh5+TA@tom-desktop> (raw)
In-Reply-To: <ZyFQx6B6uNepUAoL@kekkonen.localdomain>
Hi Sakari,
Thanks for your review.
On Tue, Oct 29, 2024 at 09:16:55PM +0000, Sakari Ailus wrote:
> Hi Tommaso, Laurent,
>
> On Tue, Oct 29, 2024 at 10:58:49PM +0200, Laurent Pinchart wrote:
> > Hi Tommaso,
> >
> > Thank you for the patch.
> >
> > The subject should start with "media: i2c:", not "media: v4l2-subdev:".
> >
> > On Tue, Oct 29, 2024 at 05:21:05PM +0100, Tommaso Merciai wrote:
> > > v4l2_subdev_init_finalize() already sets the HAS_EVENTS flag if a
> > > control handler is set, and subdev_do_ioctl() uses
> > > v4l2_ctrl_subdev_subscribe_event() and v4l2_event_subdev_unsubscribe()
> > > as defaults if the subdev doesn't have .(un)subscribe.
> >
> > That will be true once patch "[PATCH v2] media: v4l2-subdev: Refactor
> > events" gets merged. It's good practice to list dependencies, possibly
> > below the --- line (or in a cover letter) if you don't want it to appear
> > in the commit message. I also recommend setting the format.useAutoBase
> > option to automate recording of the base commit in the patch.
>
> There was some fuzz applying this to the Alvium driver. I've pushed the
> result to the devel branch in my git.linuxtv.org tree.
Sorry, I have some "todo" commits in my tree I will fix that in v2.
Thanks & Regards,
Tommaso
>
> --
> Regards,
>
> Sakari Ailus
next prev parent reply other threads:[~2024-10-29 22:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-29 16:21 [PATCH 1/1] media: v4l2-subdev: Drop HAS_EVENTS and event handlers Tommaso Merciai
2024-10-29 20:58 ` Laurent Pinchart
2024-10-29 21:16 ` Sakari Ailus
2024-10-29 22:12 ` Tommaso Merciai [this message]
2024-10-29 22:10 ` Tommaso Merciai
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=ZyFdtsSe2lSh5+TA@tom-desktop \
--to=tomm.merciai@gmail.com \
--cc=alain.volmat@foss.st.com \
--cc=bingbu.cao@intel.com \
--cc=dave.stevenson@raspberrypi.com \
--cc=jacopo.mondi@ideasonboard.com \
--cc=julien.massot@collabora.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=martin.hecht@avnet.eu \
--cc=mchehab@kernel.org \
--cc=nicholas@rothemail.net \
--cc=paul.elder@ideasonboard.com \
--cc=sakari.ailus@linux.intel.com \
--cc=sre@kernel.org \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=umang.jain@ideasonboard.com \
--cc=zhi.mao@mediatek.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.