serial: imx: add CREAD flag support
authorJiada Wang <jiada_wang@mentor.com>
Tue, 9 Dec 2014 09:11:22 +0000 (18:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:23:06 +0000 (14:23 -0800)
commit55d8693acd65b1c14e011cbcbfad2a15626472cd
treec64907ccfb3f97012c45584bba2598adb3da2298
parent1842dc2e29855ef2d8ec2e5ff9f29add7e999ce8
serial: imx: add CREAD flag support

Add CREAD flag hanlding in set_termios and UART DMA mode
which ignores all received chars when CREAD flag cleared.

Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
Signed-off-by: Anton Bondarenko <anton_bondarenko@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c