gpio: intel-mid: lock IRQs when starting them
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Nov 2013 14:24:32 +0000 (15:24 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 4 Dec 2013 13:46:51 +0000 (14:46 +0100)
commitaa6baa7e374dccbec619dcdd1291bc529a008051
treed44d5523ccbcaddd7b8e54a07bf551c7e53f4c58
parent0dc616236961e39e0fefecb4301f9e4632e4a511
gpio: intel-mid: 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.

ChangeLog v1->v2:
- Explicitly call the - empty - mask/unmask functions from the
  startup/shutdown hooks. These are currently empty, but maybe
  they will not be that forever, so better be safe than sorry.

Acked-by: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-intel-mid.c