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

View file

@ -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;