public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: "Alex Lanzano" <lanzano.alex@gmail.com>,
	"Mehdi Djait" <mehdi.djait@bootlin.com>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-pwm@vger.kernel.org,
	linux-kernel-mentees@lists.linuxfoundation.org,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Daniel Vetter" <daniel@ffwll.ch>,
	"David Airlie" <airlied@gmail.com>,
	"Dmitry Baryshkov" <dmitry.baryshkov@linaro.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"Uwe Kleine-König" <ukleinek@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	"Christophe Jaillet" <christophe.jaillet@wanadoo.fr>,
	"Shuah Khan" <skhan@linuxfoundation.org>,
	"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
Subject: Re: [PATCH v8 2/2] drm/tiny: Add driver for Sharp Memory LCD
Date: Wed, 2 Oct 2024 10:56:42 +0200	[thread overview]
Message-ID: <b671e4d2-e969-4b9a-a7ff-b3b688689ee8@web.de> (raw)
In-Reply-To: <20241002033807.682177-3-lanzano.alex@gmail.com>

…
> +++ b/drivers/gpu/drm/tiny/sharp-memory.c
> @@ -0,0 +1,681 @@
> +static int sharp_memory_maintain_display(struct sharp_memory_device *smd)
> +{
> +	u8 *tx_buffer = smd->tx_buffer;
> +
> +	mutex_lock(&smd->tx_mutex);
> +	mutex_unlock(&smd->tx_mutex);
> +
> +	return ret;
> +}
…

Will development interests grow for the application of a statement
like “guard(mutex)(&smd->tx_mutex);”?
https://elixir.bootlin.com/linux/v6.12-rc1/source/include/linux/mutex.h#L201

Regards,
Markus

  reply	other threads:[~2024-10-02  8:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-02  3:37 [PATCH v8 0/2] Add driver for Sharp Memory LCD Alex Lanzano
2024-10-02  3:37 ` [PATCH v8 1/2] dt-bindings: display: Add Sharp Memory LCD bindings Alex Lanzano
2024-10-02  3:37 ` [PATCH v8 2/2] drm/tiny: Add driver for Sharp Memory LCD Alex Lanzano
2024-10-02  8:56   ` Markus Elfring [this message]
2024-10-02  9:23     ` Greg KH
2024-10-02  7:56 ` [PATCH v8 0/2] " Uwe Kleine-König
2024-10-03  2:33   ` Alex Lanzano
2024-10-03  9:27     ` Uwe Kleine-König
2024-10-03 15:45       ` Alex Lanzano

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=b671e4d2-e969-4b9a-a7ff-b3b688689ee8@web.de \
    --to=markus.elfring@web.de \
    --cc=airlied@gmail.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=conor+dt@kernel.org \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=krzk+dt@kernel.org \
    --cc=lanzano.alex@gmail.com \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mehdi.djait@bootlin.com \
    --cc=mripard@kernel.org \
    --cc=robh@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=tzimmermann@suse.de \
    --cc=u.kleine-koenig@baylibre.com \
    --cc=ukleinek@kernel.org \
    /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