]> git.baikalelectronics.ru Git - kernel.git/commit
tty:serial:imx: use spin_lock instead of spin_lock_irqsave in isr
authorjun qian <hangdianqj@163.com>
Mon, 27 Aug 2018 14:49:04 +0000 (07:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Sep 2018 14:07:24 +0000 (16:07 +0200)
commit798d6365dacdd0f51937c60121ed5850621bc6ca
treee1fd65fc0ff430c7ca8d786ad9da4170d616a58e
parentcd209173923c3f74ee25e241d86de45e59982961
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: jun qian <hangdianqj@163.com>
Reviewed-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c