mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
serial: imx: restore handshaking irq for imx1
commit7e620984b6upstream. Back in 2015 when irda was dropped from the driver imx1 was broken. This change reintroduces the support for the third interrupt of the UART. Fixes:afe9cbb1a6("serial: imx: drop support for IRDA") Cc: stable <stable@vger.kernel.org> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
016d4aae9d
commit
d428e43eb6
@@ -2213,6 +2213,14 @@ static int serial_imx_probe(struct platform_device *pdev)
|
||||
ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = devm_request_irq(&pdev->dev, rtsirq, imx_rtsint, 0,
|
||||
dev_name(&pdev->dev), sport);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "failed to request rts irq: %d\n",
|
||||
ret);
|
||||
return ret;
|
||||
}
|
||||
} else {
|
||||
ret = devm_request_irq(&pdev->dev, rxirq, imx_int, 0,
|
||||
dev_name(&pdev->dev), sport);
|
||||
|
||||
Reference in New Issue
Block a user