diff options
| author | Fugang Duan <[email protected]> | 2017-09-04 11:20:24 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-09-18 16:19:21 +0000 |
| commit | 9d7ee0e28da59b05647c3d2a7ad4076c16b1a6ef (patch) | |
| tree | c2cdfb4443b5da3a7a5dc012faf495d86e6feb58 /drivers/tty/serial/sccnxp.c | |
| parent | serial: bcm63xx: fix timing issue. (diff) | |
| download | kernel-9d7ee0e28da59b05647c3d2a7ad4076c16b1a6ef.tar.gz kernel-9d7ee0e28da59b05647c3d2a7ad4076c16b1a6ef.zip | |
tty: serial: lpuart: avoid report NULL interrupt
The current driver register irq in .startup() and free the irq in
.shutdown(), then user will see the NULL interrupt output from
'cat /proc/interrupts' after the uart port test completed:
...
41: 515 0 0 0 GICv3 257 Level fsl-lpuart
42: 2 0 0 0 GICv3 258 Level
...
It is better to register all the irqs during probe function via devm_request_irq()
to avoid to call free_irq().
Signed-off-by: Fugang Duan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
