diff options
author | 2012-11-05 17:11:41 +0900 | |
---|---|---|
committer | 2012-11-20 16:00:44 +0900 | |
commit | be31cc0bc9e6d24d7bd069a4eae81aa9fcf5d2cd (patch) | |
tree | 50b5c513f64c926e6d838135b781321f6841dfde /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.7-rc6 (diff) | |
download | linux-dev-be31cc0bc9e6d24d7bd069a4eae81aa9fcf5d2cd.tar.xz linux-dev-be31cc0bc9e6d24d7bd069a4eae81aa9fcf5d2cd.zip |
extcon: arizona: unlock mutex on error path in arizona_micdet()
If regmap_read() failed, arizona_micdet() returns IRQ_NONE
leaving &info->lock mutex locked as opposed to all other return paths.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions