serial:ifx6x60:Delete SPI timer when shut down port
authorchao bi <chao.bi@intel.com>
Wed, 12 Dec 2012 03:40:56 +0000 (11:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jan 2013 19:45:00 +0000 (11:45 -0800)
commit904e718cc7b18ea8db425d51e9601fb21699892e
treed1e78257b228378d160a674cc517952bd9de3453
parentf21c75c02cfdc2518e8c07d5bbed2fd815bfd457
serial:ifx6x60:Delete SPI timer when shut down port

commit 014b9b4ce84281ccb3d723c792bed19815f3571a upstream.

When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.

Signed-off-by: Chen Jun <jun.d.chen@intel.com>
Signed-off-by: channing <chao.bi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ifx6x60.c