]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 21 Mar 2023 11:47:50 +0000 (11:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Apr 2023 14:55:28 +0000 (16:55 +0200)
commitd90958e125f512435c3b2530ced7182c244612d6
tree9eaf745cdc99326658859e294a6994ad7ff7322d
parentbedcd46ea1341160c3907e994113ac837bc10c76
tty: serial: sh-sci: Fix Rx on RZ/G2L SCI

commit f92ed0cd9328aed918ebb0ebb64d259eccbcc6e7 upstream.

SCI IP on RZ/G2L alike SoCs do not need regshift compared to other SCI
IPs on the SH platform. Currently, it does regshift and configuring Rx
wrongly. Drop adding regshift for RZ/G2L alike SoCs.

Fixes: 2a49c8d8139f ("serial: sh-sci: Compute the regshift value for SCI ports")
Cc: stable@vger.kernel.org
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230321114753.75038-3-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c