diff options
author | t.sefzick <t.sefzick@fz-juelich.de> | 2007-04-25 09:05:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-12 19:29:51 -0400 |
commit | 715f9527c1c1edd1a9c7a55ab4535211279c9374 (patch) | |
tree | 41d555d8398eb2301fa19143fe5c73c520b4d897 | |
parent | 1abdeeb1d566f74bc5b3e68447d91c8c37d47942 (diff) |
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: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/serial/pl2303.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index 83dfae93a45d..5027ae9afaab 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -617,6 +617,13 @@ static void pl2303_set_termios(struct usb_serial_port *port, | |||
617 | VENDOR_WRITE_REQUEST_TYPE, | 617 | VENDOR_WRITE_REQUEST_TYPE, |
618 | 0x0, index, NULL, 0, 100); | 618 | 0x0, index, NULL, 0, 100); |
619 | dbg("0x40:0x1:0x0:0x%x %d", index, i); | 619 | dbg("0x40:0x1:0x0:0x%x %d", index, i); |
620 | } else { | ||
621 | i = usb_control_msg(serial->dev, | ||
622 | usb_sndctrlpipe(serial->dev, 0), | ||
623 | VENDOR_WRITE_REQUEST, | ||
624 | VENDOR_WRITE_REQUEST_TYPE, | ||
625 | 0x0, 0x0, NULL, 0, 100); | ||
626 | dbg ("0x40:0x1:0x0:0x0 %d", i); | ||
620 | } | 627 | } |
621 | 628 | ||
622 | kfree(buf); | 629 | kfree(buf); |