From 106020ccee79c7fcf3875c47000525d957c9bcf1 Mon Sep 17 00:00:00 2001 From: Maarten Brock Date: Tue, 16 Feb 2016 18:59:04 +0100 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/uartlite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c index 9ffbeef..c9fdfc8 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; -- 2.7.4