mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Laux <matthew.laux@gmail.com>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: linux-media@vger.kernel.org, Hans Verkuil <hverkuil@kernel.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Mehdi Djait <mehdi.djait@bootlin.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v7 10/12] media: tw9900: add S-Video input and progressive source detection
Date: Wed, 25 Nov 2026 13:47:32 -0600	[thread overview]
Message-ID: <awc7VK8eOleuJwKW@miso> (raw)
In-Reply-To: <5ff7af23-de12-40cc-a8a9-29d787873837@web.de>

On Wed, Nov 25, 2026 at 03:38:01PM +0100, Markus Elfring wrote:
> > +	mutex_lock(&tw9900->mutex);
> > +	ret = tw9900_apply_input(tw9900);
> > +	mutex_unlock(&tw9900->mutex);

> Under which circumstances would you become interested to apply a macro call
> like “scoped_guard(mutex, &tw9900->mutex)”?
> https://elixir.bootlin.com/linux/v7.4-rc1/source/include/linux/cleanup.h#L325-L328

This is a nice feature - fixed in v8.

Thanks,
Matthew

> 
> Regards,
> Markus



  reply	other threads:[~2026-11-25 19:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-21  3:55 [PATCH v7 00/12] Add driver for StarTech USB3HDCAP capture device Matthew Laux
2026-11-21  3:55 ` [PATCH v7 01/12] media: tw9900: Disable regulator on runtime resume failure Matthew Laux
2026-11-21  3:55 ` [PATCH v7 02/12] media: tw9900: release the device when stopping the stream fails Matthew Laux
2026-11-21  3:55 ` [PATCH v7 03/12] media: tw9900: accept the TW9910 chip ID Matthew Laux
2026-11-21  3:55 ` [PATCH v7 04/12] media: tw9900: add saturation, hue and sharpness controls Matthew Laux
2026-11-21  3:55 ` [PATCH v7 05/12] media: tw9900: program all mode registers in the PAL table Matthew Laux
2026-11-21  3:55 ` [PATCH v7 06/12] media: tw9900: power off the device on remove if still active Matthew Laux
2026-11-21  3:55 ` [PATCH v7 07/12] media: tw9900: power down analog blocks in runtime suspend Matthew Laux
2026-11-21  3:55 ` [PATCH v7 08/12] media: tw9900: use runtime PM autosuspend Matthew Laux
2026-11-21  3:55 ` [PATCH v7 09/12] media: tw9900: allow board-specific register tables via platform data Matthew Laux
2026-11-21  3:55 ` [PATCH v7 10/12] media: tw9900: add S-Video input and progressive source detection Matthew Laux
2026-11-25 14:38   ` Markus Elfring
2026-11-25 19:47     ` Matthew Laux [this message]
2026-11-21  3:55 ` [PATCH v7 11/12] media: Add subdevice driver for the Mstar MST3367 HDMI receiver Matthew Laux
2026-11-25 13:17   ` Hans Verkuil
2026-11-25 19:33     ` Matthew Laux
2026-11-21  3:55 ` [PATCH v7 12/12] media: add driver for StarTech USB3HDCAP Matthew Laux
2026-11-25 13:39   ` Hans Verkuil
2026-11-25 19:45     ` Matthew Laux
2026-11-25 13:41 ` [PATCH v7 00/12] Add driver for StarTech USB3HDCAP capture device Hans Verkuil

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=awc7VK8eOleuJwKW@miso \
    --to=matthew.laux@gmail.com \
    --cc=Markus.Elfring@web.de \
    --cc=hverkuil@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=mehdi.djait@bootlin.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 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®