summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-03-30 16:37:16 +0200
committerJohan Hovold <johan@kernel.org>2021-04-01 10:02:13 +0200
commitea7ada4de2f7406150dd35ecd0302842587a464e (patch)
tree7d85003019704a688019d6d07c41460dc4e0bdcf /drivers/usb/serial/usb-serial.c
parent315e2811f58b807e6e76b7385e3d7b970f4562d2 (diff)
downloadlinux-stable-ea7ada4de2f7406150dd35ecd0302842587a464e.tar.gz
linux-stable-ea7ada4de2f7406150dd35ecd0302842587a464e.tar.bz2
linux-stable-ea7ada4de2f7406150dd35ecd0302842587a464e.zip
USB: serial: xr: fix CSIZE handling
The XR21V141X does not have a 5- or 6-bit mode, but the current implementation failed to properly restore the old setting when CS5 or CS6 was requested. Instead an invalid request would be sent to the device. Fixes: c2d405aa86b4 ("USB: serial: add MaxLinear/Exar USB to Serial driver") Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Cc: stable@vger.kernel.org # 5.12 Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
0 files changed, 0 insertions, 0 deletions