summaryrefslogtreecommitdiff
path: root/drivers/amba
diff options
context:
space:
mode:
authorKazuhiro Fujita <kazuhiro.fujita.jg@renesas.com>2020-03-27 21:17:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-16 17:16:52 +0300
commit3dc4db3662366306e54ddcbda4804acb1258e4ba (patch)
tree688fd4a8b7e5f6220c23b1f5d89ffb31ed266878 /drivers/amba
parent0f87aa66e8c314f95c00eeff978c8a0b41e05d50 (diff)
downloadlinux-3dc4db3662366306e54ddcbda4804acb1258e4ba.tar.xz
serial: sh-sci: Make sure status register SCxSR is read in correct sequence
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 'drivers/amba')
0 files changed, 0 insertions, 0 deletions