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:
Родитель
19606eaf0b
Коммит
106020ccee
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче