Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7938
b: refs/heads/master
c: 1694899
h: refs/heads/master
v: v3
  • Loading branch information
Dariusz M authored and Greg Kroah-Hartman committed Sep 8, 2005
1 parent 0c80995 commit f409ec6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: ef0840286045fe7ce84cb77e7608f0844c81001c
refs/heads/master: 1694899fd1af43636351aac97f415fd3c9cefb1d
6 changes: 4 additions & 2 deletions trunk/drivers/usb/serial/pl2303.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,10 @@ static int pl2303_open (struct usb_serial_port *port, struct file *filp)

dbg("%s - port %d", __FUNCTION__, port->number);

usb_clear_halt(serial->dev, port->write_urb->pipe);
usb_clear_halt(serial->dev, port->read_urb->pipe);
if (priv->type != HX) {
usb_clear_halt(serial->dev, port->write_urb->pipe);
usb_clear_halt(serial->dev, port->read_urb->pipe);
}

buf = kmalloc(10, GFP_KERNEL);
if (buf==NULL)
Expand Down

0 comments on commit f409ec6

Please sign in to comment.