Browse Source

USB: serial: mos7840: fix misleading interrupt-URB comment

The interrupt URB is killed at final port close since commit
0de9a7024e7a ("USB: overhaul of mos7840 driver").

Fixes: 0de9a7024e7a ("USB: overhaul of mos7840 driver")
Signed-off-by: Johan Hovold <johan@kernel.org>
Johan Hovold 8 years ago
parent
commit
472d7e55d5
1 changed files with 1 additions and 3 deletions
  1. 1 3
      drivers/usb/serial/mos7840.c

+ 1 - 3
drivers/usb/serial/mos7840.c

@@ -1036,9 +1036,7 @@ static int mos7840_open(struct tty_struct *tty, struct usb_serial_port *port)
 				serial,
 				serial,
 				serial->port[0]->interrupt_in_urb->interval);
 				serial->port[0]->interrupt_in_urb->interval);
 
 
-			/* start interrupt read for mos7840               *
-			 * will continue as long as mos7840 is connected  */
-
+			/* start interrupt read for mos7840 */
 			response =
 			response =
 			    usb_submit_urb(serial->port[0]->interrupt_in_urb,
 			    usb_submit_urb(serial->port[0]->interrupt_in_urb,
 					   GFP_KERNEL);
 					   GFP_KERNEL);