…
> +++ b/drivers/gpu/drm/bridge/lontium-lt8713sx.c
> @@ -0,0 +1,682 @@
…
> +static int lt8713sx_firmware_update(struct lt8713sx *lt8713sx)
> +{
> + int ret = 0;
> +
> + mutex_lock(<8713sx->ocm_lock);
> + lt8713sx_i2c_enable(lt8713sx);
…
> + mutex_unlock(<8713sx->ocm_lock);
> +
> + return ret;
> +}
…
Under which circumstances would you become interested to apply a statement
like “guard(mutex)(<8713sx->ocm_lock);”?
https://elixir.bootlin.com/linux/v6.19-rc2/source/include/linux/mutex.h#L253
Regards,
Markus