]> www.infradead.org Git - users/jedix/linux-maple.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)
commit2a6dd54da5de274cb33a419a193e3103553b4e1f
tree0be4c9a6a1c306d4c1ac2c7c8b614daad2ed64af
parent85c3acbeef4147f712cc6344fcfb66aa91034dd1
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: 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