From: Takashi Sakamoto Date: Tue, 22 Jul 2014 14:11:03 +0000 (+0900) Subject: ALSA: bebob: Fix a missing to unlock mutex in error handling case X-Git-Tag: omap-for-v3.17/fixes-against-rc2~229^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=901401166464dc1875825235bb2541af31b4c384;p=pandora-kernel.git ALSA: bebob: Fix a missing to unlock mutex in error handling case In error handling case, special_clk_ctl_put() returns without unlock_mutex(), therefore the mutex is still locked. This commit moves mutex_lock() after the error handling case. This commit is my solution for this post. [PATCH -next] ALSA: bebob: Fix missing unlock on error in special_clk_ctl_put() https://lkml.org/lkml/2014/7/20/12 Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed