gpio: pl061: lock IRQs when starting them
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Nov 2013 11:33:41 +0000 (12:33 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Feb 2014 08:11:58 +0000 (09:11 +0100)
commitf6f293112e3d747e5d39ff0d12793909c3946035
tree289c1a01a95644f4ed55888c450c16979cde8199
parent7808755d4b0ccdaa9e78edfc8cce94f51c5c8da4
gpio: pl061: 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: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Deepak Sikri <deepak.sikri@st.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pl061.c