USB: pl2303: fix DTR/RTS being raised on baud rate change
commit582ed6e2205004cee5b59637ec25b84f0cf4812e
authorJohan Hovold <jhovold@gmail.com>
Fri, 23 Mar 2012 14:23:18 +0000 (23 15:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 22:31:01 +0000 (22 15:31 -0700)
tree3498bff3c5642dd90fd0ffb3deae9ee5ed52677d
parent5d4047fd0968cd9ca53d0744a5ba7719c7e539bc
USB: pl2303: fix DTR/RTS being raised on baud rate change

commit ce5c9851855bab190c9a142761d54ba583ab094c upstream.

DTR/RTS should only be raised when changing baudrate from B0 and not on
any baud rate change (> B0).

Reported-by: Søren Holm <sgh@sgh.dk>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c