]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: zs: Fix swapped RI/DSR modem line transition counting
authorMaciej W. Rozycki <macro@orcam.me.uk>
Fri, 10 Apr 2026 17:19:31 +0000 (18:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 May 2026 15:01:55 +0000 (17:01 +0200)
commitd15cd40cb1858f75846eaafa9a6bca841b790a92
treeadaca1793b91eda1c9ff18e4d5beee1979e279ce
parent254f49634ee16a731174d2ae34bc50bd5f45e731
serial: zs: Fix swapped RI/DSR modem line transition counting

Fix a thinko in the status interrupt handler that has caused counters
for the RI and DSR modem line transitions to be used for the other line
each.

Fixes: 8b4a40809e53 ("zs: move to the serial subsystem")
Cc: stable <stable@kernel.org>
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://patch.msgid.link/alpine.DEB.2.21.2604101747110.29980@angie.orcam.me.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/zs.c