Commit 401fb66
fsl_lpuart: Don't enable interrupts too early
If an irq is pending when devm_request_irq() is called, the irq
handler will cause a NULL pointer access because initialisation
is not done yet.
Fixes: 9d7ee0e ("tty: serial: lpuart: avoid report NULL interrupt")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Indan Zupancic <Indan.Zupancic@mep-info.com>
Link: https://lore.kernel.org/r/20220505114750.45423-1-Indan.Zupancic@mep-info.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 9361ebf commit 401fb66
1 file changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2664 | 2664 | | |
2665 | 2665 | | |
2666 | 2666 | | |
| 2667 | + | |
2667 | 2668 | | |
2668 | 2669 | | |
2669 | 2670 | | |
| |||
2741 | 2742 | | |
2742 | 2743 | | |
2743 | 2744 | | |
2744 | | - | |
2745 | | - | |
| 2745 | + | |
2746 | 2746 | | |
2747 | 2747 | | |
2748 | | - | |
2749 | | - | |
| 2748 | + | |
2750 | 2749 | | |
2751 | | - | |
2752 | | - | |
2753 | | - | |
2754 | | - | |
2755 | 2750 | | |
2756 | 2751 | | |
2757 | 2752 | | |
| |||
2773 | 2768 | | |
2774 | 2769 | | |
2775 | 2770 | | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
2776 | 2776 | | |
2777 | 2777 | | |
| 2778 | + | |
2778 | 2779 | | |
2779 | 2780 | | |
2780 | 2781 | | |
2781 | 2782 | | |
2782 | | - | |
2783 | 2783 | | |
2784 | 2784 | | |
2785 | 2785 | | |
| |||
0 commit comments