summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-09-11 11:01:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-09-23 12:01:19 +0200
commit615f35fd5aee169cc4881a8594f2fa234a4d0bb8 (patch)
tree078c18591ba4e399bba1a27e4b24ec44a62467a8 /tools/lib/python/kdoc
parenteb35b73e133686e5b999eb7130c4e3d22fe03089 (diff)
downloadlinux-next-615f35fd5aee169cc4881a8594f2fa234a4d0bb8.tar.gz
linux-next-615f35fd5aee169cc4881a8594f2fa234a4d0bb8.zip
tty: amiserial: fix broken TIOCMIWAIT
A change replacing interruptible_sleep_on() inadvertently broke the TIOCMIWAIT implementation which now immediately returns -EIO (unless there is a racing modem status update). Replace the old hangup (and signal) detection with a check for the TTY_IO_ERROR flag which is set on hangup. Fixes: 591cee0a3563 ("tty/amiserial: avoid interruptible_sleep_on") Reported-by: sashiko-bot@kernel.org Link: https://lore.kernel.org/20260910132029.D80801F00898@smtp.kernel.org Cc: stable@kernel.org # 3.14 Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://patch.msgid.link/20260911090132.723531-1-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions