diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-07-06 11:08:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-06 16:41:15 +0200 |
commit | c5a9262fa8bfed0dddc7466ef10fcd292e2af61b (patch) | |
tree | bac315bdd7e5aa4435505e477fb8ee96c4bdc326 /arch/mips | |
parent | Merge 4.18-rc3 into tty-next (diff) | |
download | linux-c5a9262fa8bfed0dddc7466ef10fcd292e2af61b.tar.xz linux-c5a9262fa8bfed0dddc7466ef10fcd292e2af61b.zip |
serial: sh-sci: Stop RX FIFO timer during port shutdown
The RX FIFO timer may be armed when the port is shut down, hence the
timer function may still be called afterwards.
Fix this race condition by deleting the timer during port shutdown.
Fixes: 039403765e5da3c6 ("serial: sh-sci: SCIFA/B RX FIFO software timeout")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions