summaryrefslogtreecommitdiffstats
path: root/arch/s390/mm
diff options
context:
space:
mode:
authorKazuhiro Fujita <kazuhiro.fujita.jg@renesas.com>2020-03-27 18:17:28 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-29 16:31:34 +0200
commitd407f7dc0662ec2d8c5f79d79786144d3340e761 (patch)
tree0c120aa61fef12e653743c901576cc499a7b4abf /arch/s390/mm
parentd3ee95dedd88ed3fcd4647e4a8e265acaf27b2f0 (diff)
downloadlinux-stable-d407f7dc0662ec2d8c5f79d79786144d3340e761.tar.gz
linux-stable-d407f7dc0662ec2d8c5f79d79786144d3340e761.tar.bz2
linux-stable-d407f7dc0662ec2d8c5f79d79786144d3340e761.zip
serial: sh-sci: Make sure status register SCxSR is read in correct sequence
commit 3dc4db3662366306e54ddcbda4804acb1258e4ba upstream. For SCIF and HSCIF interfaces the SCxSR register holds the status of data that is to be read next from SCxRDR register, But where as for SCIFA and SCIFB interfaces SCxSR register holds status of data that is previously read from SCxRDR register. This patch makes sure the status register is read depending on the port types so that errors are caught accordingly. Cc: <stable@vger.kernel.org> Signed-off-by: Kazuhiro Fujita <kazuhiro.fujita.jg@renesas.com> Signed-off-by: Hao Bui <hao.bui.yg@renesas.com> Signed-off-by: KAZUMI HARADA <kazumi.harada.rh@renesas.com> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/1585333048-31828-1-git-send-email-kazuhiro.fujita.jg@renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/s390/mm')
0 files changed, 0 insertions, 0 deletions