]> git.baikalelectronics.ru Git - kernel.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)
commit462dbea90209a4aa560420f1391c6d6b34ba0440
tree62b59930e8620d24b51ea3e44198bd07fb958433
parent95ce530cfef796064027a4dce55f884ef462e497
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