]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: stmpe: forbid unused lines to be mapped as IRQs
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 27 Sep 2016 22:59:12 +0000 (15:59 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Sep 2016 16:02:50 +0000 (09:02 -0700)
commit6dab51c388a99398a984268adf29d5c47565394e
tree6ae4b110310d0d4e62a30679e2e0317a94e2ebd3
parentf8ad8b2e0b3ba73a27867253c545224ae82cae50
gpio: stmpe: forbid unused lines to be mapped as IRQs

Exploit the new mechanism for masking off disallowed IRQs
added by Mika Westerberg to properly manage the STMPE
"norequest mask" to disallow also mapping said lines as
IRQs.

Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-stmpe.c