diff options
author | Sanjeev Premi <premi@ti.com> | 2011-07-11 20:50:31 +0530 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-07-31 23:28:27 +0200 |
commit | e178ccb33569da17dc897a08a3865441b813bdfb (patch) | |
tree | b5d0fffe561eea9ef9b0646804ef0013c533fd69 /net/dccp | |
parent | mfd: twl6030-pwm.c needs MODULE_LICENSE (diff) | |
download | linux-dev-e178ccb33569da17dc897a08a3865441b813bdfb.tar.xz linux-dev-e178ccb33569da17dc897a08a3865441b813bdfb.zip |
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 <premi@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions