[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5516b4b1-638c-44ff-bce7-aa81928da5d6@web.de>
Date: Wed, 20 Nov 2024 16:54:37 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Dikshita Agarwal <quic_dikshita@...cinc.com>,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-msm@...r.kernel.org, Abhinav Kumar <quic_abhinavk@...cinc.com>,
Conor Dooley <conor+dt@...nel.org>, Krzysztof Kozlowski
<krzk+dt@...nel.org>, Mauro Carvalho Chehab <mchehab@...nel.org>,
Philipp Zabel <p.zabel@...gutronix.de>, Rob Herring <robh@...nel.org>,
Vikash Garodia <quic_vgarodia@...cinc.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Bryan O'Donoghue <bryan.odonoghue@...aro.org>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Hans Verkuil <hverkuil@...all.nl>, Jianhua Lu <lujianhua000@...il.com>,
Neil Armstrong <neil.armstrong@...aro.org>,
Nicolas Dufresne <nicolas@...fresne.ca>,
Sebastian Fricke <sebastian.fricke@...labora.com>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>
Subject: Re: [PATCH v6 04/28] media: iris: introduce iris core state
management with shared queues
…
> +++ b/drivers/media/platform/qcom/iris/iris_core.c
> @@ -0,0 +1,46 @@
…
> +void iris_core_deinit(struct iris_core *core)
> +{
> + mutex_lock(&core->lock);
> + iris_hfi_queues_deinit(core);
> + core->state = IRIS_CORE_DEINIT;
> + mutex_unlock(&core->lock);
> +}
…
Under which circumstances would you become interested to apply a statement
like “guard(mutex)(&core->lock);”?
https://elixir.bootlin.com/linux/v6.12/source/include/linux/mutex.h#L201
Regards,
Markus
Powered by blists - more mailing lists