pinctrl: single: Use a separate lockdep class
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 1 Feb 2016 18:28:17 +0000 (18:28 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Mar 2016 16:03:06 +0000 (23:03 +0700)
commit3c177a166253653bf9c377eb28a5155ea2d9b631
tree4a7d7828952bc05b11aa89cf532bbaff231e766c
parent96851d391d02142f358fe7030f8795f84921329b
pinctrl: single: Use a separate lockdep class

The single pinmux controller can be cascaded to the other interrupt
controllers. Hence when propagating wake-up settings to its parent
interrupt controller, there's possiblity of detecting possible recursive
locking and getting lockdep warning.

This patch avoids this false positive by using a separate lockdep class
for this single pinctrl interrupts.

Cc: linux-gpio@vger.kernel.org
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-single.c