OSDN Git Service

tty: serial: sh-sci: Fix end of transmission on SCI
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 12 Apr 2023 14:50:53 +0000 (15:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 11:47:33 +0000 (13:47 +0200)
commitf06c2a9000ebecbb461196e59ce063f742272902
tree2776e87cb563c35e161db7e0e2e68b8944360de9
parentd61ae331d6f35183b38e0c992bc01bf15d8591c3
tty: serial: sh-sci: Fix end of transmission on SCI

We need to set TE to "0" (i.e., disable serial transmission) to
get the expected behavior of the end of serial transmission.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230412145053.114847-6-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c