diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:39:57 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-01-04 10:37:21 +0100 |
commit | 472d7e55d559aa1cbf58c73b14fcfc4651b1a9f5 (patch) | |
tree | 9fb52ceef560892a06dab68b9950f4e4f46776e4 /drivers | |
parent | USB: serial: mos7840: remove unused write URB (diff) | |
download | linux-472d7e55d559aa1cbf58c73b14fcfc4651b1a9f5.tar.xz linux-472d7e55d559aa1cbf58c73b14fcfc4651b1a9f5.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/mos7840.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index c03cd511669a..ea27fb23967a 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -1036,9 +1036,7 @@ static int mos7840_open(struct tty_struct *tty, struct usb_serial_port *port) serial, 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 = usb_submit_urb(serial->port[0]->interrupt_in_urb, GFP_KERNEL); |