diff options
author | Johan Hovold <johan@kernel.org> | 2018-07-15 15:39:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-16 11:58:15 +0200 |
commit | fada18c48d774b9e837928ecdce6a5d5fdd11ee7 (patch) | |
tree | 8aaf2a591e97164179394b13f5fce62e6fec84f3 /drivers/tty/hvc | |
parent | tty: serial: qcom_geni_serial: Add support for flow control (diff) | |
download | linux-fada18c48d774b9e837928ecdce6a5d5fdd11ee7.tar.xz linux-fada18c48d774b9e837928ecdce6a5d5fdd11ee7.zip |
tty: fix termios input-speed encoding
Make sure to clear the CIBAUD bits before OR-ing the new mask when
encoding the termios input baud rate.
This could otherwise lead to an incorrect input rate being reported back
and incidentally set on subsequent termios updates.
Fixes: edc6afc54968 ("[PATCH] tty: switch to ktermios and new framework")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc')
0 files changed, 0 insertions, 0 deletions