Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104610
b: refs/heads/master
c: 62ad296
h: refs/heads/master
v: v3
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Jul 21, 2008
1 parent dc3c05c commit ccfe8ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17d80d562fd78a035e994afde88f354973e76236
refs/heads/master: 62ad296b6ca78bd123864c138814c0a597873693
5 changes: 4 additions & 1 deletion trunk/drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,10 @@ static void serial_close(struct tty_struct *tty, struct file * filp)
}

if (port->open_count == 0) {
usb_autopm_put_interface(port->serial->interface);
mutex_lock(&port->serial->disc_mutex);
if (!port->serial->disconnected)
usb_autopm_put_interface(port->serial->interface);
mutex_unlock(&port->serial->disc_mutex);
module_put(port->serial->type->driver.owner);
}

Expand Down

0 comments on commit ccfe8ba

Please sign in to comment.