Re: [PATCH v7 10/12] media: tw9900: add S-Video input and progressive source detection
From: Matthew Laux
Date: Wed Nov 25 2026 - 14:47:39 EST
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