diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-09-27 20:17:09 +0800 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-09-28 14:24:52 +0200 |
| commit | 5bdc232c3094304a7e17df5ddb66dcdacbead6bf (patch) | |
| tree | 6bfe585f8c83ad81d5a70c38bdd74c8416f2484f /tools/lib/python/kdoc | |
| parent | 9332af5220d42341bb1446a62c545c0518e990ef (diff) | |
ALSA: oxygen: use helper to activate the SPDIF PCM control
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@seu.edu.cn>
Link: https://patch.msgid.link/20260927121709.742840-1-runyu.xiao@seu.edu.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
