Re: [PATCH v2] regulator: core: Avoid deadlock whenregulator_register fails

From: Mark Brown
Date: Wed Nov 14 2012 - 05:01:46 EST


On Wed, Nov 14, 2012 at 09:39:31AM +0000, Charles Keepax wrote:
> When regulator_register fails and exits through the scrub path the
> regulator_put function was called whilst holding the
> regulator_list_mutex, causing deadlock.

Applied, thanks.

> Cc: Laxman Dewangan <ldewangan@xxxxxxxxxx>

Please avoid doing this. I know a lot of people do but it makes for
hand editing of the commit log to remove it.

Attachment: signature.asc
Description: Digital signature