]> git.alsa-project.org Git - alsa-lib.git/commit
UCM: Fix deadlock following failed get _verb
authorStephen Warren <swarren@nvidia.com>
Thu, 2 Jun 2011 22:44:39 +0000 (16:44 -0600)
committerJaroslav Kysela <perex@perex.cz>
Fri, 3 Jun 2011 09:45:17 +0000 (11:45 +0200)
commit0a4b1ee746c1cfbfdfe586ce5f97b047fcad09f8
treed3c49cef6545348521a633c5f24f140828187253
parent0a2fd2d38677c48443a1c9b1aba8c432c3b6bd96
UCM: Fix deadlock following failed get _verb

When querying the current verb without a verb set, snd_use_case_get bails
out early without unlocking uc_mgr->mutex. This causes subsequent API calls
to hang. Instead, s/return/goto __end/.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/main.c