USB: pl2303: fix DTR/RTS being raised on baud rate change
authorJohan Hovold <jhovold@gmail.com>
Fri, 23 Mar 2012 14:23:18 +0000 (15:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 22:36:20 +0000 (15:36 -0700)
commitce5c9851855bab190c9a142761d54ba583ab094c
tree92a058162bc04b0f67478875b256ccbe46ed23bb
parente3fa252a0ef3d1f93bc55cefc2f707359b43c70d
USB: pl2303: fix DTR/RTS being raised on baud rate change

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c