diff mbox series

usb: gadget: u_serial: Remove old tasklet comments

Message ID 20210119001321.127750-1-dave@stgolabs.net (mailing list archive)
State Accepted
Commit 79f06f04db653f57fd9e344c20b1a8b70c75ec50
Headers show
Series usb: gadget: u_serial: Remove old tasklet comments | expand

Commit Message

Davidlohr Bueso Jan. 19, 2021, 12:13 a.m. UTC
Update old comments as of 8b4c62aef6f (usb: gadget: u_serial: process RX
in workqueue instead of tasklet).

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
---
 drivers/usb/gadget/function/u_serial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Felipe Balbi Jan. 19, 2021, 7:20 a.m. UTC | #1
Davidlohr Bueso <dave@stgolabs.net> writes:

> Update old comments as of 8b4c62aef6f (usb: gadget: u_serial: process RX
> in workqueue instead of tasklet).
>
> Signed-off-by: Davidlohr Bueso <dbueso@suse.de>

Acked-by: Felipe Balbi <balbi@kernel.org>
diff mbox series

Patch

diff --git a/drivers/usb/gadget/function/u_serial.c b/drivers/usb/gadget/function/u_serial.c
index 2caccbb6e014..6d59f44ef2cd 100644
--- a/drivers/usb/gadget/function/u_serial.c
+++ b/drivers/usb/gadget/function/u_serial.c
@@ -346,7 +346,7 @@  __acquires(&port->port_lock)
 }
 
 /*
- * RX tasklet takes data out of the RX queue and hands it up to the TTY
+ * RX work takes data out of the RX queue and hands it up to the TTY
  * layer until it refuses to take any more data (or is throttled back).
  * Then it issues reads for any further data.
  *
@@ -709,7 +709,7 @@  static void gs_close(struct tty_struct *tty, struct file *file)
 
 	/* Iff we're disconnected, there can be no I/O in flight so it's
 	 * ok to free the circular buffer; else just scrub it.  And don't
-	 * let the push tasklet fire again until we're re-opened.
+	 * let the push async work fire again until we're re-opened.
 	 */
 	if (gser == NULL)
 		kfifo_free(&port->port_write_buf);