summaryrefslogtreecommitdiffstats
path: root/include/linux/svga.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-04-09 13:34:39 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-04-28 12:35:07 -0700
commit1c8732bb0355b929b09173464cdca7df4d516f89 (patch)
treeaff50774b50c3f4567be23f9d6deeb187ab4a62f /include/linux/svga.h
parentd1db0eea852497762cab43b905b879dfcd3b8987 (diff)
downloadlinux-1c8732bb0355b929b09173464cdca7df4d516f89.tar.gz
linux-1c8732bb0355b929b09173464cdca7df4d516f89.tar.bz2
linux-1c8732bb0355b929b09173464cdca7df4d516f89.zip
gpio: support threaded interrupts in irqchip helpers
Some off-chip GPIO expanders need to be communicated by I2C or SPI traffic, but may still support IRQs. By the sleeping nature of such buses, such IRQ handlers need to be threaded. Support such handlers in the gpiochip irqchip helpers by flagging IRQs as threaded if the .can_sleep property of the gpiochip is true. Helpfully deny registration of chained IRQ handlers if the .can_sleep property is set, as such chips will invariably need a nested handler rather than a chained handler. Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/svga.h')
0 files changed, 0 insertions, 0 deletions