Patchwork [3.5.y.z,extended,stable] Patch "serial:ifx6x60:Delete SPI timer when shut down port" has been added to staging queue

mail settings
Submitter Herton Ronaldo Krzesinski
Date Jan. 30, 2013, 9:57 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/217041/
State New
Headers show


Herton Ronaldo Krzesinski - Jan. 30, 2013, 9:57 p.m.
This is a note to let you know that I have just added a patch titled

    serial:ifx6x60:Delete SPI timer when shut down port

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see



From da7768a1f90f8c367333836eb125749480017eb4 Mon Sep 17 00:00:00 2001
From: chao bi <>
Date: Wed, 12 Dec 2012 11:40:56 +0800
Subject: [PATCH] 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 <>
Signed-off-by: channing <>
Signed-off-by: Greg Kroah-Hartman <>
[ herton: adjust context ]
Signed-off-by: Herton Ronaldo Krzesinski <>
 drivers/tty/serial/ifx6x60.c |    1 +
 1 file changed, 1 insertion(+)



diff --git a/drivers/tty/serial/ifx6x60.c b/drivers/tty/serial/ifx6x60.c
index 144cd39..17f587c 100644
--- a/drivers/tty/serial/ifx6x60.c
+++ b/drivers/tty/serial/ifx6x60.c
@@ -552,6 +552,7 @@  static void ifx_port_shutdown(struct tty_port *port)
 		container_of(port, struct ifx_spi_device, tty_port);

+	del_timer(&ifx_dev->spi_timer);
 	clear_bit(IFX_SPI_STATE_TIMER_PENDING, &ifx_dev->flags);