linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] USB: serial: drop short control-transfer checks
@ 2021-01-18 11:14 Johan Hovold
  2021-01-18 11:14 ` [PATCH 1/6] USB: serial: mxuport: drop short control-transfer check Johan Hovold
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Johan Hovold @ 2021-01-18 11:14 UTC (permalink / raw)
  To: linux-usb; +Cc: Greg Kroah-Hartman, Johan Hovold

There's no need to check for short control transfers when sending data
so remove the redundant sanity checks from the drivers that had them.

Included is also a related fix of a copy-paste error in a debug message.

Johan


Johan Hovold (6):
  USB: serial: mxuport: drop short control-transfer check
  USB: serial: upd78f0730: drop short control-transfer check
  USB: serial: io_ti: drop short control-transfer check
  USB: serial: io_ti: fix a debug-message copy-paste error
  USB: serial: f81232: drop short control-transfer checks
  USB: serial: f81534: drop short control-transfer check

 drivers/usb/serial/f81232.c     | 12 ++----------
 drivers/usb/serial/f81534.c     |  4 +---
 drivers/usb/serial/io_ti.c      |  8 ++------
 drivers/usb/serial/mxuport.c    |  7 -------
 drivers/usb/serial/upd78f0730.c |  5 +----
 5 files changed, 6 insertions(+), 30 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-18 20:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-18 11:14 [PATCH 0/6] USB: serial: drop short control-transfer checks Johan Hovold
2021-01-18 11:14 ` [PATCH 1/6] USB: serial: mxuport: drop short control-transfer check Johan Hovold
2021-01-18 11:14 ` [PATCH 2/6] USB: serial: upd78f0730: " Johan Hovold
2021-01-18 11:14 ` [PATCH 3/6] USB: serial: io_ti: " Johan Hovold
2021-01-18 11:14 ` [PATCH 4/6] USB: serial: io_ti: fix a debug-message copy-paste error Johan Hovold
2021-01-18 11:14 ` [PATCH 5/6] USB: serial: f81232: drop short control-transfer checks Johan Hovold
2021-01-18 11:14 ` [PATCH 6/6] USB: serial: f81534: drop short control-transfer check Johan Hovold
2021-01-18 11:23 ` [PATCH 0/6] USB: serial: drop short control-transfer checks Johan Hovold
2021-01-18 12:46 ` Greg Kroah-Hartman
2021-01-18 13:36   ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).