]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: Intel: fix missing mutex
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Sun, 2 Nov 2014 06:34:41 +0000 (12:04 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 2 Nov 2014 11:07:28 +0000 (11:07 +0000)
commit22a236b4d07b5c5cfdc5db9e87d479d32281cfe6
tree14c3d0d5df04b82cf75c09e02205ce7105a71439
parentc1e99c913be4294e63b5e74b197b8a8c86e6e67b
ASoC: Intel: fix missing mutex

on error in block prepare, we were returning the error code while still
holding the mutex. We are releasing the mutex in this patch before
return.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-firmware.c