[GIT PULL] USB driver fixes for 4.10-rc3
From: Greg KH
Date: Sun Jan 08 2017 - 08:05:16 EST
The following changes since commit 0c744ea4f77d72b3dcebb7a8f2684633ec79be88:
Linux 4.10-rc2 (2017-01-01 14:31:53 -0800)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.10-rc3
for you to fetch changes up to 0a8fd1346254974c3a852338508e4a4cddbb35f1:
USB: fix problems with duplicate endpoint addresses (2017-01-05 19:38:40 +0100)
----------------------------------------------------------------
USB fixes for 4.10-rc3
Here are a bunch of USB fixes for 4.10-rc3. Yeah, it's a lot, an
artifact of the holiday break I think. Lots of gadget and the usual
XHCI fixups for reported issues (one day that driver will calm down...)
Also included are a bunch of usb-serial driver fixes, and for good
measure, a number of much-reported MUSB driver issues have finally been
resolved.
All of these have been in linux-next with no reported issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
----------------------------------------------------------------
Alan Stern (6):
USB: dummy-hcd: fix bug in stop_activity (handle ep0)
USB: gadgetfs: fix unbounded memory allocation bug
USB: gadgetfs: fix use-after-free bug
USB: gadgetfs: fix checks of wTotalLength in config descriptors
USB: gadgetfs: remove unnecessary assignment
USB: fix problems with duplicate endpoint addresses
Baolin Wang (2):
usb: gadget: f_fs: Fix possibe deadlock
usb: host: xhci: Fix possible wild pointer when handling abort command
Bin Liu (2):
usb: musb: core: add clear_ep_rxintr() to musb_platform_ops
usb: musb: dsps: implement clear_ep_rxintr() callback
David Lechner (1):
usb: gadget: Fix copy/pasted error message
Felipe Balbi (5):
usb: dwc3: ep0: add dwc3_ep0_prepare_one_trb()
usb: dwc3: ep0: explicitly call dwc3_ep0_prepare_one_trb()
usb: dwc3: gadget: always unmap EP0 requests
usb: dwc3: core: avoid Overflow events
usb: host: xhci: handle COMP_STOP from SETUP phase too
Felix Hädicke (1):
usb: gadget: udc: core: fix return code of usb_gadget_probe_driver()
Geert Uytterhoeven (2):
USB: serial: f81534: detect errors from f81534_logic_to_phy_port()
usb: hub: Move hub_port_disable() to fix warning if PM is disabled
Greg Kroah-Hartman (3):
usb: gadgetfs: restrict upper bound on device configuration size
Merge tag 'fixes-for-v4.10-rc3' of git://git.kernel.org/.../balbi/usb into usb-linus
Merge tag 'usb-serial-4.10-rc3' of git://git.kernel.org/.../johan/usb-serial into usb-linus
Grygorii Strashko (1):
usb: dwc3: omap: fix race of pm runtime with irq handler in probe
Hans de Goede (1):
usb: dwc3: pci: Fix dr_mode misspelling
Heikki Krogerus (1):
usb: dwc3: pci: add Intel Gemini Lake PCI ID
Janusz Dziedzic (1):
usb: dwc3: skip interrupt when ep disabled
Johan Hovold (24):
USB: serial: cyberjack: fix NULL-deref at open
USB: serial: garmin_gps: fix memory leak on failed URB submit
USB: serial: io_edgeport: fix NULL-deref at open
USB: serial: io_ti: fix NULL-deref at open
USB: serial: io_ti: fix another NULL-deref at open
USB: serial: io_ti: fix I/O after disconnect
USB: serial: io_ti: bind to interface after fw download
USB: serial: iuu_phoenix: fix NULL-deref at open
USB: serial: keyspan_pda: verify endpoints at probe
USB: serial: kobil_sct: fix NULL-deref in write
USB: serial: mos7720: fix NULL-deref at open
USB: serial: mos7720: fix use-after-free on probe errors
USB: serial: mos7720: fix parport use-after-free on probe errors
USB: serial: mos7720: fix parallel probe
USB: serial: mos7720: remove obsolete port initialisation
USB: serial: mos7840: fix NULL-deref at open
USB: serial: mos7840: remove unused write URB
USB: serial: mos7840: fix misleading interrupt-URB comment
USB: serial: omninet: fix NULL-derefs at open and disconnect
USB: serial: oti6858: fix NULL-deref at open
USB: serial: pl2303: fix NULL-deref at open
USB: serial: quatech2: fix sleep-while-atomic in close
USB: serial: spcp8x5: fix NULL-deref at open
USB: serial: ti_usb_3410_5052: fix NULL-deref at open
John Youn (1):
usb: dwc3: pci: Add "linux,sysdev_is_parent" property
Jérémy Lefaure (2):
usb: musb: fix compilation warning on unused function
usb: musb: blackfin: add bfin_fifo_offset in bfin_ops
Krzysztof Opasiak (1):
usb: gadget: composite: Test get_alt() presence instead of set_alt()
Lu Baolu (3):
usb: xhci: fix return value of xhci_setup_device()
usb: xhci: fix possible wild pointer
usb: xhci: hold lock over xhci_abort_cmd_ring()
Marek Szyprowski (1):
usb: dwc2: fix flags for DMA descriptor allocation in dwc2_hsotg_ep_enable
Mathias Nyman (2):
xhci: free xhci virtual devices with leaf nodes first
xhci: Handle command completion and timeout race
OGAWA Hirofumi (2):
xhci: Use delayed_work instead of timer for command timeout
xhci: Fix race related to abort operation
Oliver Neukum (1):
usb: storage: unusual_uas: Add JMicron JMS56x to unusual device
Pan Bian (1):
usb: return error code when platform_get_irq fails
Peter Rosin (1):
usb: ohci-at91: use descriptor-based gpio APIs correctly
Roger Quadros (1):
usb: dwc3: gadget: Fix full speed mode
Stefan Wahren (4):
usb: dwc2: Do not set host parameter in peripheral mode
usb: dwc2: fix dwc2_get_device_property for u8 and u16
usb: dwc2: fix default value for DMA support
usb: dwc2: gadget: fix default value for gadget-dma-desc
Tony Lindgren (1):
usb: musb: Fix trying to free already-free IRQ 4
Vincent Pelletier (2):
usb: gadget: f_fs: Document eventfd effect on descriptor format.
usb: gadget: f_fs: Fix ExtCompat descriptor validation
Wan Ahmad Zainie (1):
usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Apollo Lake
drivers/usb/core/config.c | 10 ++
drivers/usb/core/hub.c | 59 ++++----
drivers/usb/dwc2/gadget.c | 2 +-
drivers/usb/dwc2/params.c | 30 ++--
drivers/usb/dwc3/core.h | 10 +-
drivers/usb/dwc3/dwc3-omap.c | 6 +-
drivers/usb/dwc3/dwc3-pci.c | 17 +--
drivers/usb/dwc3/ep0.c | 46 ++++---
drivers/usb/dwc3/gadget.c | 24 ++--
drivers/usb/gadget/composite.c | 12 +-
drivers/usb/gadget/function/f_fs.c | 14 +-
drivers/usb/gadget/function/f_hid.c | 2 +-
drivers/usb/gadget/legacy/inode.c | 18 ++-
drivers/usb/gadget/udc/core.c | 6 +-
drivers/usb/gadget/udc/dummy_hcd.c | 6 +-
drivers/usb/host/ohci-at91.c | 24 ++--
drivers/usb/host/xhci-mem.c | 46 ++++++-
drivers/usb/host/xhci-mtk.c | 4 +-
drivers/usb/host/xhci-pci.c | 3 +-
drivers/usb/host/xhci-ring.c | 251 ++++++++++++++++++++--------------
drivers/usb/host/xhci.c | 4 +-
drivers/usb/host/xhci.h | 5 +-
drivers/usb/musb/blackfin.c | 1 +
drivers/usb/musb/musb_core.c | 2 +
drivers/usb/musb/musb_core.h | 7 +
drivers/usb/musb/musb_dsps.c | 12 ++
drivers/usb/musb/musb_host.c | 10 +-
drivers/usb/musb/musbhsdma.h | 2 +-
drivers/usb/serial/cyberjack.c | 10 ++
drivers/usb/serial/f81534.c | 8 +-
drivers/usb/serial/garmin_gps.c | 1 +
drivers/usb/serial/io_edgeport.c | 5 +
drivers/usb/serial/io_ti.c | 22 ++-
drivers/usb/serial/iuu_phoenix.c | 11 ++
drivers/usb/serial/keyspan_pda.c | 14 ++
drivers/usb/serial/kobil_sct.c | 12 ++
drivers/usb/serial/mos7720.c | 56 +++-----
drivers/usb/serial/mos7840.c | 24 ++--
drivers/usb/serial/omninet.c | 13 ++
drivers/usb/serial/oti6858.c | 16 +++
drivers/usb/serial/pl2303.c | 8 ++
drivers/usb/serial/quatech2.c | 4 -
drivers/usb/serial/spcp8x5.c | 14 ++
drivers/usb/serial/ti_usb_3410_5052.c | 7 +
drivers/usb/storage/unusual_devs.h | 7 +
include/uapi/linux/usb/functionfs.h | 1 +
46 files changed, 550 insertions(+), 316 deletions(-)