diff options
author | 2017-09-04 19:20:24 +0800 | |
---|---|---|
committer | 2017-09-18 18:19:21 +0200 | |
commit | 9d7ee0e28da59b05647c3d2a7ad4076c16b1a6ef (patch) | |
tree | c2cdfb4443b5da3a7a5dc012faf495d86e6feb58 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: bcm63xx: fix timing issue. (diff) | |
download | wireguard-linux-9d7ee0e28da59b05647c3d2a7ad4076c16b1a6ef.tar.xz wireguard-linux-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 <fugang.duan@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions