Re: [PATCH] tty:serial:imx: use spin_lock instead of spin_lock_irqsave in isr
From: Barry Song
Date: Tue Aug 28 2018 - 04:36:43 EST
jun qian <hangdianqj@xxxxxxx> ä2018å8æ27æåä äå10:49åéï
>
> Before the program enters the uart ISR, the local interrupt has been
> disabled by the system, so it's not appropriate to use spin_lock_irqsave
> interface in the ISR.
>
> Signed-off-by: jun qian <hangdianqj@xxxxxxx>
many discussions have been done with jun in wechat regarding this patch. and
Reviewed-by: Barry Song <21cnbao@xxxxxxxxx>
> ---
> Âdrivers/tty/serial/imx.c | 21 ++++++++-------------
> Â1 file changed, 8 insertions(+), 13 deletions(-)
>