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:
parent
19606eaf0b
commit
106020ccee
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue