diff options
| author | Sanjeev Premi <premi@ti.com> | 2011-07-11 11:20:31 -0400 |
|---|---|---|
| committer | Brad Figg <brad.figg@canonical.com> | 2012-01-23 18:36:16 -0500 |
| commit | 8eab48e1d39755d93676fdc17e7e288afbe02178 (patch) | |
| tree | 703e77847199511ae067ad9d8607fa777db3b058 /include/linux | |
| parent | 88edab1ac86c98e422e103195cee9ad8abc9a903 (diff) | |
mfd: Fix mismatch in twl4030 mutex lock-unlock
BugLink: http://bugs.launchpad.net/bugs/913373
commit e178ccb33569da17dc897a08a3865441b813bdfb upstream.
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@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Brad Figg <brad.figg@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
