diff options
author | Johan Hovold <jhovold@gmail.com> | 2010-05-15 19:53:50 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 00:21:48 +0400 |
commit | a90131763dfd9a95f43071f0b67a737e6ca6a6c0 (patch) | |
tree | 93d1f3e753450054f5c446774859edb2e2deb156 /drivers | |
parent | 214916f2ec6701e1c9972f26c60b3dc37d3153c6 (diff) | |
download | linux-a90131763dfd9a95f43071f0b67a737e6ca6a6c0.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/cp210x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c index 25e343ff61e7..ca27f2f8522d 100644 --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -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; |