Re: [PATCH] extcon: arizona: unlock mutex on error path inarizona_micdet()
From: Mark Brown
Date: Mon Nov 05 2012 - 03:04:26 EST
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@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Attachment:
signature.asc
Description: Digital signature