Re: [PATCH v8 2/2] drm/tiny: Add driver for Sharp Memory LCD

Markus Elfring
2024-10-02T08:57:23Z

…
> +++ 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