[ldv-project] [PATCH] extcon: arizona: unlock mutex on error path in arizona_micdet()
Chanwoo Choi
cw00.choi at samsung.com
Mon Nov 5 12:37:02 MSK 2012
On 11/05/2012 05:04 PM, Mark Brown wrote:
> On Sun, Nov 04, 2012 at 01:19:46PM -0700, Alexey Khoroshilov wrote:
>> 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).
>
> Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Applied, thanks.
You can check this patch on extcon git tree:
- git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git (for-next branch)
Chanwoo Choi
More information about the ldv-project
mailing list