commit | de24e0a108bc48062e1c7acaa97014bce32a919f | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Oct 19 15:45:07 2016 +0200 |
committer | Johan Hovold <johan@kernel.org> | Thu Oct 20 11:15:20 2016 +0200 |
tree | 209a3d0ca8d086b39060cd38890acdd16c516e33 | |
parent | ca006f785fbfd7a5c901900bd3fe2b26e946a1ee [diff] |
USB: serial: cp210x: fix tiocmget error handling The current tiocmget implementation would fail to report errors up the stack and instead leaked a few bits from the stack as a mask of modem-status flags. Fixes: 39a66b8d22a3 ("[PATCH] USB: CP2101 Add support for flow control") Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>