[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <582f0e6e-7f8b-41db-b08e-5783943dddde@web.de>
Date: Tue, 9 Jul 2024 09:47:31 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Yuji Ishikawa <yuji2.ishikawa@...hiba.co.jp>,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, Conor Dooley <conor+dt@...nel.org>,
Hans Verkuil <hverkuil@...all.nl>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Mark Brown <broonie@...nel.org>, Mauro Carvalho Chehab <mchehab@...nel.org>,
Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@...hiba.co.jp>,
Rob Herring <robh@...nel.org>, Sakari Ailus <sakari.ailus@...ux.intel.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v11 3/6] media: platform: visconti: Add Toshiba Visconti
Video Input Interface driver
…
> +++ b/drivers/media/platform/toshiba/visconti/viif_capture.c
> @@ -0,0 +1,1431 @@
…
> +static int viif_set_img(struct cap_dev *cap_dev, struct vb2_buffer *vb)
> +{
…
> + if (cap_dev->pathid == CAPTURE_PATH_MAIN_POST0) {
> + spin_lock(&viif_dev->regbuf_lock);
> + hwd_viif_isp_guard_start(viif_dev);
…
> + hwd_viif_isp_guard_end(viif_dev);
> + spin_unlock(&viif_dev->regbuf_lock);
…
Under which circumstances would you become interested to apply a statement
like “guard(spinlock)(&viif_dev->regbuf_lock);”?
https://elixir.bootlin.com/linux/v6.10-rc7/source/include/linux/spinlock.h#L561
Regards,
Markus
Powered by blists - more mailing lists