summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_buffer.c
diff options
context:
space:
mode:
authorJun Chen <jun.d.chen@intel.com>2012-10-19 15:51:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-25 20:29:58 +0200
commit2e30802625f5754e9a0ce478a447ed0f2376d4d4 (patch)
treee7b488f15b183a70f7d520fe6acc2099d18e9c2a /drivers/tty/tty_buffer.c
parentserial: ifx6x60: add_timer is not safe in the mrdy_assert function (diff)
downloadlinux-2e30802625f5754e9a0ce478a447ed0f2376d4d4.tar.xz
linux-2e30802625f5754e9a0ce478a447ed0f2376d4d4.zip
serial: ifx6x60: del_timer_sync must not be called in interrupt context.
This patch make use of del_timer instead of del_timer_sync in the interrupt context. The spi_timer function don't use any resources that may release after running del_timer, so using the del_timer is also safe and enough in this context. Signed-off-by: Chen Jun <jun.d.chen@intel.com> Acked-by: Alan Cox <alan@linux.intel.com> Tested-by: Chuansheng Liu <chuansheng.liu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions