Skip to content
Commit e178ccb3 authored by Sanjeev Premi's avatar Sanjeev Premi Committed by Samuel Ortiz
Browse files

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: default avatarSanjeev Premi <premi@ti.com>
Cc: Keerthy <j-keerthy@ti.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 2b959e7f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment