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:
Johan Hovold 2010-05-15 17:53:50 +02:00 committed by Greg Kroah-Hartman
parent 214916f2ec
commit a90131763d
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port)
return -EPROTO; return -EPROTO;
} }
result = usb_serial_generic_submit_read_urb(port, GFP_KERNEL); result = usb_serial_generic_open(tty, port);
if (result) if (result)
return result; return result;