Re: [PATCH v8 2/2] drm/tiny: Add driver for Sharp Memory LCD
From: Markus Elfring
Date: Wed Oct 02 2024 - 04:57:42 EST
…
> +++ 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