From: Sanjeev Premi Date: Mon, 11 Jul 2011 15:20:31 +0000 (+0530) Subject: mfd: Fix mismatch in twl4030 mutex lock-unlock X-Git-Tag: v3.1-rc1~100^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e178ccb33569da17dc897a08a3865441b813bdfb;p=pandora-kernel.git mfd: Fix mismatch in twl4030 mutex lock-unlock A mutex is locked on entry into twl4030_madc_conversion(). Immediate return on some error conditions leaves the mutex locked. This patch ensures that mutex is always unlocked before leaving the function. Signed-off-by: Sanjeev Premi Cc: Keerthy Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed