提交 a9013176 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

USB: cp210x: use generic open to start reading from device

Signed-off-by: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 214916f2
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册