Re: [PATCH] ALSA: oxygen: use helper to activate the SPDIF PCM control
From: Takashi Iwai
Date: Mon Sep 28 2026 - 08:53:07 EST
On Sun, 27 Sep 2026 14:17:09 +0200,
Runyu Xiao wrote:
>
> oxygen_open() and oxygen_close() modify the SPDIF PCM control access
> flags while holding chip->mutex. Direct access changes bypass the control
> core locking and notification path.
>
> Move the access transition outside the driver mutex and use
> snd_ctl_activate_id(), which serializes the control update with the control
> core.
>
> Fixes: d0ce9946c52e ("[ALSA] add CMI8788 driver")
> Assisted-by: LLM
> Signed-off-by: Runyu Xiao <runyu.xiao@xxxxxxxxxx>
Applied to for-next branch. Thanks.
Takashi