diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-08-11 22:37:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-13 14:40:16 +0300 |
commit | 30abbe7727b23c6661daeea5d36be36ed7a41665 (patch) | |
tree | f472a4c01e7020e0b5c58e0e61d8efbd386543e5 /include/sound/soc-dapm.h | |
parent | e63bfd45aba4269811662de0954785622a2ac928 (diff) | |
download | linux-30abbe7727b23c6661daeea5d36be36ed7a41665.tar.xz |
ASoC: dapm: dapm_dai_get_connected_widgets: Fix missing mutex unlock
Make sure to unlock the DAPM mutex when dapm_widget_list_create() fails.
This means the function will now generate a trace_snd_soc_dapm_connected
event, even if the creation of the list fails. But that was the behavior
before the patch that introduced the unlock issue, so that should be fine.
Fixes: 1ce43acff0c0 ("ASoC: dapm: Simplify list creation in dapm_dai_get_connected_widgets()")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-dapm.h')
0 files changed, 0 insertions, 0 deletions