serial: fsl-lpuart: disable interrupt when suspend
authorYuan Yao <yao.yuan@freescale.com>
Fri, 23 Jan 2015 09:48:54 +0000 (17:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:09:55 +0000 (10:09 -0800)
commit2fe605df325abfa2d36f63469fa960cd40d8cf50
tree1ceb1a461fdb302b69e21980a7c32b11e18dc004
parent011f5bde62890c39440859c8077a0a5a6aca316d
serial: fsl-lpuart: disable interrupt when suspend

For power management support, we should disable TX and
TX interrupt so that kernel can prepare for deep sleep.

Retain RX and RX interrupt for wakeup the kernel when
receive the input character.

Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c