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>
Wed, 29 Mar 2023 08:58:14 +0000 (10:58 +0200)
commitb43a18647f03c87e77d50d6fe74904b61b96323e
tree67fb874028439e9a24b72f114f18088630a8a666
parente8d018dd0257f744ca50a729e3d042cf2ec9da65
tty: serial: sh-sci: Fix transmit end interrupt handler

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: e1d0be616186 ("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