Re: [PATCH] tty:serial:imx: use spin_lock instead of spin_lock_irqsave in isr
From: Barry Song <hidden>
Date: 2018-08-28 08:36:43
Also in:
lkml
From: Barry Song <hidden>
Date: 2018-08-28 08:36:43
Also in:
lkml
jun qian [off-list ref] 于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 <redacted>
many discussions have been done with jun in wechat regarding this patch. and Reviewed-by: Barry Song <redacted>
--- drivers/tty/serial/imx.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-)