aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2022-07-25 10:44:57 +0200
committerJohan Hovold <johan@kernel.org>2022-07-25 11:01:40 +0200
commit688ee1d1785c1359f9040f615dd8e6054962bce2 (patch)
tree60526f379d8908a8675b7ef54a7a37add7fcda2c /drivers/usb/serial/usb-serial.c
parentUSB: serial: fix repeated word "the" in comments (diff)
downloadlinux-dev-688ee1d1785c1359f9040f615dd8e6054962bce2.tar.xz
linux-dev-688ee1d1785c1359f9040f615dd8e6054962bce2.zip
USB: serial: fix tty-port initialized comments
Fix up the tty-port initialized comments which got truncated and obfuscated when replacing the old ASYNCB_INITIALIZED flag. Fixes: d41861ca19c9 ("tty: Replace ASYNC_INITIALIZED bit and update atomically") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
-rw-r--r--drivers/usb/serial/usb-serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
index 24101bd7fcad..e35bea2235c1 100644
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -295,7 +295,7 @@ static int serial_open(struct tty_struct *tty, struct file *filp)
*
* Shut down a USB serial port. Serialized against activate by the
* tport mutex and kept to matching open/close pairs
- * of calls by the initialized flag.
+ * of calls by the tty-port initialized flag.
*
* Not called if tty is console.
*/