aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/st-asc.c
diff options
context:
space:
mode:
authorPhil Reid <preid@electromag.com.au>2017-02-20 09:41:45 +0800
committerLinus Walleij <linus.walleij@linaro.org>2017-03-06 14:35:22 +0100
commitf759921cfbf4847319d197a6ed7c9534d593f8bc (patch)
tree8ddcfd6b5da2781a2d320c4edbe82635bb6203fd /drivers/tty/serial/st-asc.c
parentgpio: xgene: mark PM functions as __maybe_unused (diff)
downloadlinux-dev-f759921cfbf4847319d197a6ed7c9534d593f8bc.tar.xz
linux-dev-f759921cfbf4847319d197a6ed7c9534d593f8bc.zip
gpio: altera: Use handle_level_irq when configured as a level_high
When a threaded irq handler is chained attached to one of the gpio pins when configure for level irq the altera_gpio_irq_leveL_high_handler does not mask the interrupt while being handled by the chained irq. This resulting in the threaded irq not getting enough cycles to complete quickly enough before the irq was disabled as faulty. handle_level_irq should be used in this situation instead of handle_simple_irq. In gpiochip_irqchip_add set default handler to handle_bad_irq as per Documentation/gpio/driver.txt. Then set the correct handler in the set_type callback. Signed-off-by: Phil Reid <preid@electromag.com.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/tty/serial/st-asc.c')
0 files changed, 0 insertions, 0 deletions