From: Eric Nelson Date: Thu, 18 Dec 2014 19:37:13 +0000 (-0700) Subject: serial: imx: preserve characters with parity or framing errors X-Git-Tag: fixes-v4.0-rc1~98^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d267fd98b7706a6296409b69bf2cca42087a9ef;p=pandora-kernel.git serial: imx: preserve characters with parity or framing errors If IGNPAR/INPCK are clear in termios->c_iflag, characters received with parity or framing errors should be preserved and passed to the upper layers of the tty stack. Specifically, the decision of whether to set the character value to zero should be made by n_tty.c/n_tty_receive_parity_error(). Signed-off-by: Eric Nelson Reviewed-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed