]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f0a300f9d33ef15c8440a457c96a04d4793496a
treed0b9830f72d53f016cbbed0eb258f5bfddab15a1
parentdbe386c53bb5040d2197c383b9cea9b36626b654
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