pinctrl: baytrail: lock IRQs when starting them
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Dec 2013 14:20:34 +0000 (15:20 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Dec 2013 14:16:31 +0000 (15:16 +0100)
commit1d2d8ce61f7d47e418f26b0c657b5d8874b85df4
tree4687733670c35508eeba4235f7d35358ddffa117
parentd46f421608575a76c1f8b605005b2f9ac9a35db5
pinctrl: baytrail: lock IRQs when starting them

This uses the new API for tagging GPIO lines as in use by
IRQs. This enforces a few semantic checks on how the underlying
GPIO line is used.

Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Mathias Nyman <mathias.nyman@linux.intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-baytrail.c