Commit 715f9527 authored by t.sefzick's avatar t.sefzick Committed by Greg Kroah-Hartman

USB: flow control fix for pl2303

in order to be able to switch back to 'flow-control none'
after having activated 'flow-control rts/cts', I made
a small change to 'pl2303.c'.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1abdeeb1
......@@ -617,6 +617,13 @@ static void pl2303_set_termios(struct usb_serial_port *port,
VENDOR_WRITE_REQUEST_TYPE,
0x0, index, NULL, 0, 100);
dbg("0x40:0x1:0x0:0x%x %d", index, i);
} else {
i = usb_control_msg(serial->dev,
usb_sndctrlpipe(serial->dev, 0),
VENDOR_WRITE_REQUEST,
VENDOR_WRITE_REQUEST_TYPE,
0x0, 0x0, NULL, 0, 100);
dbg ("0x40:0x1:0x0:0x0 %d", i);
}
kfree(buf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment