Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364457
b: refs/heads/master
c: ecb9eb8
h: refs/heads/master
i:
  364455: 7c40737
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Mar 25, 2013
1 parent 03265c0 commit 2ac729d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 53ab34dc50ad99366257d34cdb8a84f24250d611
refs/heads/master: ecb9eb8064ba705e9182772db28809a755c920e8
6 changes: 1 addition & 5 deletions trunk/drivers/usb/serial/cp210x.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,11 +462,7 @@ static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port)
static void cp210x_close(struct usb_serial_port *port)
{
usb_serial_generic_close(port);

mutex_lock(&port->serial->disc_mutex);
if (!port->serial->disconnected)
cp210x_set_config_single(port, CP210X_IFC_ENABLE, UART_DISABLE);
mutex_unlock(&port->serial->disc_mutex);
cp210x_set_config_single(port, CP210X_IFC_ENABLE, UART_DISABLE);
}

/*
Expand Down

0 comments on commit 2ac729d

Please sign in to comment.