diff options
-rw-r--r-- | drivers/serial/imx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/serial/imx.c b/drivers/serial/imx.c index 03b495c2de14..04cc88cc528c 100644 --- a/drivers/serial/imx.c +++ b/drivers/serial/imx.c | |||
@@ -403,7 +403,8 @@ static int imx_startup(struct uart_port *port) | |||
403 | if (retval) goto error_out2; | 403 | if (retval) goto error_out2; |
404 | 404 | ||
405 | retval = request_irq(sport->rtsirq, imx_rtsint, | 405 | retval = request_irq(sport->rtsirq, imx_rtsint, |
406 | IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING, | 406 | (sport->rtsirq < IMX_IRQS) ? 0 : |
407 | IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING, | ||
407 | DRIVER_NAME, sport); | 408 | DRIVER_NAME, sport); |
408 | if (retval) goto error_out3; | 409 | if (retval) goto error_out3; |
409 | 410 | ||