-Original Message-
From: Jean Delvare [mailto:kh...@linux-fr.org]
Sent: Saturday, July 09, 2011 12:21 PM
To: Premi, Sanjeev
Cc: lm-sens...@lm-sensors.org; linux-omap@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] mfd: twl4030: Fix mismatch
in mutex lock-unlock
On Fri, 8 Jul
On Fri, 8 Jul 2011 18:27:59 +0530, Sanjeev Premi wrote:
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