gpio: bcm-kona: lock IRQs when starting them
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 19 Nov 2013 13:14:50 +0000 (14:14 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 4 Dec 2013 13:46:35 +0000 (14:46 +0100)
commitdb6b3ad1772e0e0e82c52d6337378e79da2effad
treed0b9830f72d53f016cbbed0eb258f5bfddab15a1
parentf41cd3c2876bd31e7c71908548ae3c7a5b7ff649
gpio: bcm-kona: 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: Christian Daudt <csd@broadcom.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
Tested-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bcm-kona.c