[PATCH 0/5] USB: io-ti: remove custom closing-wait implementation

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

 



Replace custom closing-wait implementation with the corresponding generic
implementations.

This fixes a null-pointer deref on close as well as access to USB interface
after disconnect.

Greg, I asked Wolfgang to resubmit his minimal patch for the oops as it is more
appropriate for the stable trees. This series could then be applied on top of
that minimal fix.

Johan


Johan Hovold (5):
  USB: io_ti: move write-fifo flushing to close
  USB: io_ti: use tty-port drain delay
  USB: serial: grab disconnect mutex in chars_in_buffer
  USB: io_ti: query hardware-buffer status in chars_in_buffer
  USB: io_ti: kill custom closing_wait implementation

 drivers/usb/serial/io_ti.c      | 86 +++++++++++------------------------------
 drivers/usb/serial/usb-serial.c | 14 +++++--
 2 files changed, 32 insertions(+), 68 deletions(-)

-- 
1.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux