From: Linus Walleij Date: Tue, 19 Nov 2013 12:34:56 +0000 (+0100) Subject: gpio: lock adnp IRQs when enabling them X-Git-Tag: v3.14-rc1~145^2~46^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f41cd3c2876bd31e7c71908548ae3c7a5b7ff649;p=pandora-kernel.git 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 Cc: Thierry Reding Signed-off-by: Linus Walleij --- Reading git-diff-tree failed