Re: [RFC PATCH] regulator: Fix recursive mutex lockdep warning

From: Srinivas Kandagatla
Date: Thu Aug 06 2015 - 07:49:32 EST




On 06/08/15 12:40, Mark Brown wrote:
On Thu, Aug 06, 2015 at 12:01:29PM +0100, Srinivas Kandagatla wrote:
On 06/08/15 10:43, Mark Brown wrote:

like what we have for regmaps with a class per regulator or something

lock_class per regulator makes more sense, I will try to cookup an RFC
patch.

There's an issue there with all lock classes needing to be statically
allocated which makes things a bit tricky.
Yes, just realized it with "BUG: key edadc07c not in .data!"




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/