diff options
author | Johan Hovold <[email protected]> | 2020-07-10 15:59:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-21 20:58:25 +0200 |
commit | b374c562ee7ab3f3a1daf959c01868bae761571c (patch) | |
tree | 5b7311f2e9936ab074efb6f2dfa6e6cb5780c46b /lib/mpi/mpi-inline.h | |
parent | 22a82fa7d6c3e16d56a036b1fa697a39b954adf0 (diff) |
serial: tegra: fix CREAD handling for PIO
Commit 33ae787b74fc ("serial: tegra: add support to ignore read") added
support for dropping input in case CREAD isn't set, but for PIO the
ignore_status_mask wasn't checked until after the character had been
put in the receive buffer.
Note that the NULL tty-port test is bogus and will be removed by a
follow-on patch.
Fixes: 33ae787b74fc ("serial: tegra: add support to ignore read")
Cc: stable <[email protected]> # 5.4
Cc: Shardar Shariff Md <[email protected]>
Cc: Krishna Yarlagadda <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Thierry Reding <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions