]> git.karo-electronics.de Git - linux-beck.git/commit
serial: sh-sci: Remove timer on shutdown of port
authorAleksandar Mitev <amitev@visteon.com>
Fri, 18 Sep 2015 11:08:28 +0000 (13:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:36:10 +0000 (17:36 +0100)
commit9ab76556608665c35080f641c73025297d0a2813
tree462a73c489f6a4bd0a997b28cf1e386cb62cf917
parent0e5c4b4d154ee0a34e39e1a587f71d4671783abf
serial: sh-sci: Remove timer on shutdown of port

This prevents DMA timer timeout that can trigger after the port has
been closed.

Signed-off-by: Aleksandar Mitev <amitev@visteon.com>
[geert: Move del_timer_sync() outside spinlock to avoid circular locking
        dependency between rx_timer_fn() and del_timer_sync()]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c