diff options
author | Timur Tabi <timur@codeaurora.org> | 2015-10-07 23:27:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 07:29:21 +0300 |
commit | 71a5cd8a4a2602a6e9010b557a23af0a54df87b6 (patch) | |
tree | 68904f0375e699197408b519e90fb6a1a8fdd241 /include/linux/tty.h | |
parent | 3e8137a185240fa6da0ff91cd9c604716371903b (diff) | |
download | linux-71a5cd8a4a2602a6e9010b557a23af0a54df87b6.tar.xz |
serial: amba-pl011: fix incorrect integer size in pl011_fifo_to_tty()
The UART_DUMMY_DR_RX status bit is equal to (1 << 16), so a u16 is too small
to hold that value. The result is that UART_DUMMY_DR_RX is never passed
to uart_insert_char(). This means that we're always accepting characters,
even when CREAD (in termios) is not set.
Signed-off-by: Timur Tabi <timur@codeaurora.org>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
0 files changed, 0 insertions, 0 deletions