summaryrefslogtreecommitdiff
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-07 16:11:14 -0800
commit106020ccee79c7fcf3875c47000525d957c9bcf1 (patch)
treea8864fddaa75d807c64494a8bf222f3e2060d3c2 /drivers/tty
parent19606eaf0b7b791fd5ecb61017ce0b367cce74a0 (diff)
downloadlwn-106020ccee79c7fcf3875c47000525d957c9bcf1.tar.gz
lwn-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;