Alexey Khoroshilov be31cc0bc9 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>
2012-11-20 16:00:44 +09:00
..
2012-10-15 14:45:51 -04:00
2012-10-07 20:55:16 +09:00
2012-11-13 22:27:19 +01:00
2012-09-26 22:28:21 -04:00
2012-10-24 16:58:53 +02:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-10-17 15:53:03 -05:00
2012-10-09 16:11:46 +09:00
2012-10-10 20:15:24 +09:00
2012-11-16 14:33:04 -08:00
2012-10-28 11:13:54 -07:00
2012-11-16 07:47:18 -08:00
2012-11-02 13:26:11 -07:00
2012-10-01 12:09:59 -07:00
2012-11-10 06:56:21 +01:00
2012-10-01 18:46:13 -07:00
2012-10-16 18:07:12 -07:00