Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2e308026 authored by Jun Chen's avatar Jun Chen Committed by Greg Kroah-Hartman
Browse files

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: default avatarChen Jun <jun.d.chen@intel.com>
Acked-by: default avatarAlan Cox <alan@linux.intel.com>
Tested-by: default avatarChuansheng Liu <chuansheng.liu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c73ba2ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment