[PATCH 0/5] USB: serial: handle unbound ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Drivers must make sure that a port is bound to a driver before accessing
port data in non-port callbacks.

Note that this is needed even with the port-driver bind attributes
removed as an individual port may have failed to probe.

Johan


Johan Hovold (5):
  USB: ch341: handle unbound port at reset_resume
  USB: serial: io_edgeport: handle unbound ports on URB completion
  USB: serial: io_edgeport: add missing active-port sanity check
  USB: serial: keyspan: handle unbound ports
  USB: serial: quatech2: handle unbound ports

 drivers/usb/serial/ch341.c       |  6 +++++-
 drivers/usb/serial/io_edgeport.c | 16 +++++++++-------
 drivers/usb/serial/keyspan.c     |  4 ++++
 drivers/usb/serial/quatech2.c    | 20 ++++++++++++++++++++
 4 files changed, 38 insertions(+), 8 deletions(-)

-- 
2.24.1




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux