…
> +++ b/sound/soc/sof/imx/imx-common.c
> @@ -1,11 +1,16 @@
…
> +static void imx_handle_reply(struct imx_dsp_ipc *ipc)
> +{
…
> + spin_lock_irqsave(&sdev->ipc_lock, flags);
> + snd_sof_ipc_process_reply(sdev, 0);
> + spin_unlock_irqrestore(&sdev->ipc_lock, flags);
> +}
…
Under which circumstances would you become interested to apply a statement
like “guard(spinlock_irqsave)(&sdev->ipc_lock);”?
https://elixir.bootlin.com/linux/v6.13.1/source/include/linux/spinlock.h#L572
Regards,
Markus
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]