USB: cp210x: use generic open to start reading from device
Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
214916f2ec
commit
a90131763d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue