gpio: lynxpoint: lock IRQs when starting them
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Nov 2013 14:36:53 +0000 (15:36 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 4 Dec 2013 13:47:03 +0000 (14:47 +0100)
commiteb7cce1ea96b6399672abce787598f6e7a4352c3
tree06ffee452edcb13e05c536a84ae6ecfd3c314b7c
parentaa6baa7e374dccbec619dcdd1291bc529a008051
gpio: lynxpoint: 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: 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/gpio/gpio-lynxpoint.c