]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: sh-sci: Fix transmit end interrupt handler
authorBiju Das <biju.das.jz@bp.renesas.com>
Fri, 17 Mar 2023 15:04:03 +0000 (15:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Apr 2023 14:55:28 +0000 (16:55 +0200)
commitbedcd46ea1341160c3907e994113ac837bc10c76
tree0be4c9a6a1c306d4c1ac2c7c8b614daad2ed64af
parentd5fdd93f52c3d4ba0d191ec7b680850a34a61ebc
tty: serial: sh-sci: Fix transmit end interrupt handler

commit b43a18647f03c87e77d50d6fe74904b61b96323e upstream.

The fourth interrupt on SCI port is transmit end interrupt compared to
the break interrupt on other port types. So, shuffle the interrupts to fix
the transmit end interrupt handler.

Fixes: 1d1ab6e9e82e ("sh-sci: Add h8300 SCI")
Cc: stable <stable@kernel.org>
Suggested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230317150403.154094-1-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c