On Sun, Dec 21, 2014 at 12:34:51AM +0200, Antti Palosaari wrote:
> Lockdep validator complains recursive locking and deadlock when two
> different regmap instances are called in a nested order, as regmap
> groups locks by default. That happens easily for example when both

I don't know what "regmap groups locks by default" means.

> I2C client and I2C adapter are using regmap. As a solution, add
> configuration option to pass custom lock class key for lockdep
> validator.

Why is this configurable, how would a device know if the system it is in
needs a custom locking class and can safely use one?

Attachment: signature.asc
Description: Digital signature

Reply via email to