OSDN Git Service

serial: altera: don't enable any irq if the device doesn't feature an irq
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 25 Jan 2018 13:30:44 +0000 (14:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Feb 2018 12:30:09 +0000 (13:30 +0100)
commit2ea6ad8bc60f66a5d323ca7e93fddf2363c3ed80
treef0940f99fd6bce8d4fd55a6c253e3333f61001fe
parent0e254963b6ba4d63ac911e79537fea38dd03dc50
serial: altera: don't enable any irq if the device doesn't feature an irq

If the irq line of an altera UART device isn't used to report interrupts
for this device the driver better ensures that this device doesn't pull
this line to active state and so disturb the whatever might be connected
to this line.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/altera_uart.c