diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-09-07 12:51:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-06 19:05:47 -0800 |
commit | 2036d699628785c4f489384a40b121a5dcb771eb (patch) | |
tree | ab1a1b627e7e5b3ca072ca0f72b5e2f748ad3a7e /drivers/media/video | |
parent | 8a282dc975d9550850232759b6211eb6019a7b06 (diff) |
ALSA: use correct lock in snd_ctl_dev_disconnect()
commit d8009882e9f5e1a76986c741f071edd2ad760c97 upstream
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>
Cc: Chris Wedgwood <cw@f00f.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/media/video')
0 files changed, 0 insertions, 0 deletions