Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334549
b: refs/heads/master
c: 5d8c61b
h: refs/heads/master
i:
  334547: 834bc98
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Oct 18, 2012
1 parent ab9ff36 commit bd61cec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: 0978c9499944d0670338fd048a3bdb1624dc66dc
refs/heads/master: 5d8c61bc283826827e1f06816c146bfc507d3834
14 changes: 7 additions & 7 deletions trunk/drivers/usb/serial/io_ti.c
Original file line number Diff line number Diff line change
Expand Up @@ -2578,20 +2578,20 @@ static int edge_port_probe(struct usb_serial_port *port)
return -ENOMEM;
}

ret = edge_create_sysfs_attrs(port);
if (ret) {
kfifo_free(&edge_port->write_fifo);
kfree(edge_port);
return ret;
}

spin_lock_init(&edge_port->ep_lock);
edge_port->port = port;
edge_port->edge_serial = usb_get_serial_data(port->serial);
edge_port->bUartMode = default_uart_mode;

usb_set_serial_port_data(port, edge_port);

ret = edge_create_sysfs_attrs(port);
if (ret) {
kfifo_free(&edge_port->write_fifo);
kfree(edge_port);
return ret;
}

return 0;
}

Expand Down

0 comments on commit bd61cec

Please sign in to comment.