summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb_wwan.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_wwan.c
parent9ec7e8d5fae34b3da52b4b0a7a47877bc6aa8416 (diff)
downloadlinux-688ee1d1785c1359f9040f615dd8e6054962bce2.tar.bz2
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_wwan.c')
-rw-r--r--drivers/usb/serial/usb_wwan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index dab38b63eaf7..cc81ab7ef4da 100644
--- a/drivers/usb/serial/usb_wwan.c
+++ b/drivers/usb/serial/usb_wwan.c
@@ -388,7 +388,8 @@ void usb_wwan_close(struct usb_serial_port *port)
/*
* Need to take susp_lock to make sure port is not already being
- * resumed, but no need to hold it due to initialized
+ * resumed, but no need to hold it due to the tty-port initialized
+ * flag.
*/
spin_lock_irq(&intfdata->susp_lock);
if (--intfdata->open_ports == 0)