USB: cp210x: use generic open to start reading from device
authorJohan Hovold <jhovold@gmail.com>
Sat, 15 May 2010 15:53:50 +0000 (17:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:48 +0000 (13:21 -0700)
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cp210x.c

index 25e343ff61e78ed3ae73937f7104b08cc4fc2bed..ca27f2f8522d013b893fc38cda1efc569a979447 100644 (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;