Skip to content

Commit a901317

Browse files
jhovoldgregkh
authored andcommitted
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>
1 parent 214916f commit a901317

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/usb/serial/cp210x.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port)
379379
return -EPROTO;
380380
}
381381

382-
result = usb_serial_generic_submit_read_urb(port, GFP_KERNEL);
382+
result = usb_serial_generic_open(tty, port);
383383
if (result)
384384
return result;
385385

0 commit comments

Comments
 (0)