> -----Original Message----- > From: Premi, Sanjeev > Sent: Monday, July 11, 2011 8:51 PM > To: linux-omap@xxxxxxxxxxxxxxx > Cc: Premi, Sanjeev; J, KEERTHY; Samuel Ortiz > Subject: [PATCHv2] mfd: twl4030: Fix mismatch in 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 <premi@xxxxxx> > Cc: Keerthy <j-keerthy@xxxxxx> > Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx> Samuel, Keerthy, Just wanted to ping both of you on this patch. ~sanjeev -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html