serial: imx: ignore framing errors when IGNPAR is set.
authorEric Nelson <eric.nelson@boundarydevices.com>
Thu, 18 Dec 2014 19:37:14 +0000 (12:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:28:18 +0000 (14:28 -0800)
commit865cea8589546025759689e034b950d1c59ed291
tree1afdc6cbde0a2bde2450dd2c9deddf1b100556ab
parent8d267fd98b7706a6296409b69bf2cca42087a9ef
serial: imx: ignore framing errors when IGNPAR is set.

When IGNPAR is set in termios->c_iflag,  characters with
framing errors should be ignored.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c