Commit 106020cc authored by Maarten Brock's avatar Maarten Brock Committed by Greg Kroah-Hartman

serial-uartlite: Configure for rising edge irq trigger.

This device generates a short rising pulse on the interrupt request line.
Signed-off-by: default avatarMaarten Brock <m.brock@vanmierlo.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 19606eaf
...@@ -262,7 +262,8 @@ static int ulite_startup(struct uart_port *port) ...@@ -262,7 +262,8 @@ static int ulite_startup(struct uart_port *port)
{ {
int ret; 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) if (ret)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment