diff options
| author | Sanjeev Premi <[email protected]> | 2011-07-11 15:20:31 +0000 |
|---|---|---|
| committer | Samuel Ortiz <[email protected]> | 2011-07-31 21:28:27 +0000 |
| commit | e178ccb33569da17dc897a08a3865441b813bdfb (patch) | |
| tree | b5d0fffe561eea9ef9b0646804ef0013c533fd69 /lib/fault-inject.c | |
| parent | mfd: twl6030-pwm.c needs MODULE_LICENSE (diff) | |
| download | kernel-e178ccb33569da17dc897a08a3865441b813bdfb.tar.gz kernel-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 <[email protected]>
Cc: Keerthy <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
