]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: tegra: clean up tty-flag assignments
authorJohan Hovold <johan@kernel.org>
Tue, 18 Nov 2014 10:18:02 +0000 (11:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 01:06:39 +0000 (17:06 -0800)
commitf0c1e460452138df03cb7a7f0e7546b74950b783
tree62b59930e8620d24b51ea3e44198bd07fb958433
parentcb8ee9f08c4abfd8744eabffc467c06795c835d9
serial: tegra: clean up tty-flag assignments

The tty break and error flags are not bit masks so do not to use bitwise
OR when assigning them.

Note that there is no functional change due to the if-else construct and
flag having been initialised to zero (TTY_NORMAL).

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial-tegra.c