Messages in this thread | | | From | Barry Song <> | Date | Tue, 28 Aug 2018 16:36:38 +0800 | Subject | Re: [PATCH] tty:serial:imx: use spin_lock instead of spin_lock_irqsave in isr |
| |
jun qian <hangdianqj@163.com> 于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@163.com>
many discussions have been done with jun in wechat regarding this patch. and
Reviewed-by: Barry Song <21cnbao@gmail.com>
> --- > drivers/tty/serial/imx.c | 21 ++++++++------------- > 1 file changed, 8 insertions(+), 13 deletions(-) >
| |