git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a75d2
)
extcon: arizona: unlock mutex on error path in arizona_micdet()
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Mon, 5 Nov 2012 08:11:41 +0000
(17:11 +0900)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Tue, 20 Nov 2012 07:00:44 +0000
(16:00 +0900)
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>
drivers/extcon/extcon-arizona.c
patch
|
blob
|
history
diff --cc
drivers/extcon/extcon-arizona.c
Simple merge