Skip to content

Commit

Permalink
serial-uartlite: Configure for rising edge irq trigger.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maarten Brock authored and Greg Kroah-Hartman committed Mar 8, 2016
1 parent 19606ea commit 106020c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/tty/serial/uartlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 106020c

Please sign in to comment.