diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-09-07 06:51:13 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-09-09 03:11:48 -0400 |
commit | d8009882e9f5e1a76986c741f071edd2ad760c97 (patch) | |
tree | 7af54716fe7c5201acb3c2670a3047b3c6a2d5c9 /sound/sound_core.c | |
parent | 3d8cb466a885cb5a0fb53ef3d39c36432d67fcbb (diff) |
ALSA: use correct lock in snd_ctl_dev_disconnect()
The lock used in snd_ctl_dev_disconnect() should be card->ctl_files_rwlock
for protection of card->ctl_files entries, instead of card->controls_rwsem.
Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions