Skip to content
Commit c974991d authored by jun qian's avatar jun qian Committed by Greg Kroah-Hartman
Browse files

tty:serial:imx: use spin_lock instead of spin_lock_irqsave in isr



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: default avatarjun qian <hangdianqj@163.com>
Reviewed-by: default avatarBarry Song <21cnbao@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent deeb33e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment