summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorMaarten Brock <m.brock@vanmierlo.com>2016-02-16 18:59:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-08 01:11:14 +0100
commit106020ccee79c7fcf3875c47000525d957c9bcf1 (patch)
treea8864fddaa75d807c64494a8bf222f3e2060d3c2 /drivers/tty
parentserial-uartlite: Spinlock inside the loop. (diff)
downloadlinux-106020ccee79c7fcf3875c47000525d957c9bcf1.tar.xz
linux-106020ccee79c7fcf3875c47000525d957c9bcf1.zip
serial-uartlite: Configure for rising edge irq trigger.
This device generates a short rising pulse on the interrupt request line. Signed-off-by: Maarten Brock <m.brock@vanmierlo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/uartlite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index 9ffbeef913e1..c9fdfc8bf47f 100644
--- a/drivers/tty/serial/uartlite.c
+++ b/drivers/tty/serial/uartlite.c
@@ -262,7 +262,8 @@ static int ulite_startup(struct uart_port *port)
{
int ret;
- ret = request_irq(port->irq, ulite_isr, IRQF_SHARED, "uartlite", port);
+ ret = request_irq(port->irq, ulite_isr, IRQF_SHARED | IRQF_TRIGGER_RISING,
+ "uartlite", port);
if (ret)
return ret;