From: Maarten Brock Date: Tue, 16 Feb 2016 17:59:04 +0000 (+0100) Subject: serial-uartlite: Configure for rising edge irq trigger. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=106020ccee79c7fcf3875c47000525d957c9bcf1;p=linux-beck.git 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 --- 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;