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>
This commit is contained in:
Maarten Brock 2016-02-16 18:59:04 +01:00 committed by Greg Kroah-Hartman
parent 19606eaf0b
commit 106020ccee
1 changed files with 2 additions and 1 deletions

View File

@ -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;