Commit 8b8b5502 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update

ALSA<-OSS emulation
fix missing semaphore release in snd_mixer_oss_build_input()
Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent 80a17ec1
......@@ -968,8 +968,10 @@ static int snd_mixer_oss_build_input(snd_mixer_oss_t *mixer, struct snd_mixer_os
snd_ctl_elem_info_t uinfo;
memset(&uinfo, 0, sizeof(uinfo));
if (kctl->info(kctl, &uinfo))
if (kctl->info(kctl, &uinfo)) {
up_read(&mixer->card->controls_rwsem);
return 0;
}
strcpy(str, ptr->name);
if (!strcmp(str, "Master"))
strcpy(str, "Mix");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment