Skip to content

Commit

Permalink
USB: cp210x: use generic open to start reading from device
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed May 20, 2010
1 parent 214916f commit a901317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/serial/cp210x.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port)
return -EPROTO;
}

result = usb_serial_generic_submit_read_urb(port, GFP_KERNEL);
result = usb_serial_generic_open(tty, port);
if (result)
return result;

Expand Down

0 comments on commit a901317

Please sign in to comment.