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)
commitc974991d2620419fe21508fc4529014369d16df7
treee1fd65fc0ff430c7ca8d786ad9da4170d616a58e
parentdeeb33e8fdd834770f75996c18153453d5af6c50
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