MLK-16086 tty: serial: lpuart: add port.lock to protect registers accessing in suspend
authorFugang Duan <fugang.duan@nxp.com>
Wed, 26 Jul 2017 06:16:11 +0000 (14:16 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:33:48 +0000 (15:33 -0500)
commit332fc0e08b33eaad6749b854f873b374ea7ec43e
treedfe0f141940c4496a7acf8a8eadb67ad7ecdc5c9
parent0274a5787273c3c61c4644545020421e18555812
MLK-16086 tty: serial: lpuart: add port.lock to protect registers accessing in suspend

Add port.lock to protect register accessing in suspend/resume function.
Disable RIE and ILIE before DMA chan is ternminated in suspend function.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
drivers/tty/serial/fsl_lpuart.c