diff options
author | Johan Hovold <johan@kernel.org> | 2020-07-10 16:59:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-21 21:58:25 +0300 |
commit | b374c562ee7ab3f3a1daf959c01868bae761571c (patch) | |
tree | 5b7311f2e9936ab074efb6f2dfa6e6cb5780c46b /net/iucv | |
parent | 22a82fa7d6c3e16d56a036b1fa697a39b954adf0 (diff) | |
download | linux-b374c562ee7ab3f3a1daf959c01868bae761571c.tar.xz |
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 <stable@vger.kernel.org> # 5.4
Cc: Shardar Shariff Md <smohammed@nvidia.com>
Cc: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200710135947.2737-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/iucv')
0 files changed, 0 insertions, 0 deletions