USB: pl2303: disable break on shutdown
authorJohan Hovold <johan@kernel.org>
Thu, 26 Feb 2015 15:50:24 +0000 (16:50 +0100)
committerJohan Hovold <johan@kernel.org>
Thu, 26 Feb 2015 16:35:25 +0000 (17:35 +0100)
commit52772a7fd3d354ec1b88d85c83e98cbdcfb02787
tree6f13e317e6fe57624a28d429b915ad3e6ad26465
parentdb81de767e375743ebb0ad2bcad3326962c2b67e
USB: pl2303: disable break on shutdown

Currently an enabled break state is not disabled on final close nor on
re-open and has to be disabled manually.

Fix this by disabling break on port shutdown.

Reported-by: Jari Ruusu <jariruusu@users.sourceforge.net>
Tested-by: Jari Ruusu <jariruusu@users.sourceforge.net>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/pl2303.c