[ldv-project] [PATCH] extcon: arizona: unlock mutex on error path in arizona_micdet()

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Nov 5 12:04:32 MSK 2012


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://linuxtesting.org/pipermail/ldv-project/attachments/20121105/1a555c79/attachment.pgp>


More information about the ldv-project mailing list