summaryrefslogtreecommitdiff
path: root/ipc/util.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-11-19 16:34:56 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-12-04 17:46:19 +0400
commitf41cd3c2876bd31e7c71908548ae3c7a5b7ff649 (patch)
tree5eff4af9748e6ecfcfecba3b72f4e351e7e6d745 /ipc/util.c
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
downloadlinux-f41cd3c2876bd31e7c71908548ae3c7a5b7ff649.tar.xz
gpio: lock adnp IRQs when enabling 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. Only compile tested on the lpc32xx. ChangeLog v2->v3: - Switch to using the startup()/shutdown() callbacks again. Still satisfy the mask/unmask semantics. ChangeLog v1->v2: - Use the .enable() callback from the irq_chip - Call .unmask() from the .enable() callback to satisfy semantics. Cc: Lars Poeschel <poeschel@lemonage.de> Cc: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions