diff options
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2023-04-28 11:59:38 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-05-08 09:21:54 +0200 |
commit | 50164f69f8c71377bfa3d356b8a6bc18b2197a45 (patch) | |
tree | 4de64566ef2cbb3e50e4ac2a16ff33b9f50639b6 /sound/pci/emu10k1/io.c | |
parent | 71781147dabdd0b256542bb51122f376db740b0d (diff) | |
download | lwn-50164f69f8c71377bfa3d356b8a6bc18b2197a45.tar.gz lwn-50164f69f8c71377bfa3d356b8a6bc18b2197a45.zip |
ALSA: emu10k1: use the right lock in snd_emu10k1_shared_spdif_put()
The function does read-modify-write cycles on the card's registers, and
doesn't access mutable members of the emu data structure.
I suppose this might have been a mixup due to the lock names being
logically swapped.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230428095941.1706278-4-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/io.c')
0 files changed, 0 insertions, 0 deletions