android_kernel_sony_sdm845/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yang Yingliang 67394861ab usb: gadget: hid: fix error return code in hid_bind()
[ Upstream commit 88693f770bb09c196b1eb5f06a484a254ecb9924 ]

Fix to return a negative error code from the error handling
case instead of 0.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210618043835.2641360-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:21:12 +02:00
..
atm USB: atm: ueagle-atm: add missing endpoint check 2019-12-21 10:41:53 +01:00
c67x00 USB: c67x00: fix use after free in c67x00_giveback_urb 2020-07-22 09:10:51 +02:00
chipidea usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data() 2021-01-12 19:49:03 +01:00
class USB: cdc-acm: blacklist Heimann USB Appset device 2021-07-20 16:20:56 +02:00
common usb: common: Consider only available nodes for dr_mode 2019-04-03 06:24:19 +02:00
core usb: core: reduce power-on-good delay time of root hub 2021-06-03 08:23:33 +02:00
dwc2 usb: dwc2: Fix gadget DMA unmap direction 2021-05-22 10:40:32 +02:00
dwc3 usb: dwc3: core: fix kernel panic when do reboot 2021-06-30 08:49:18 -04:00
early
gadget usb: gadget: hid: fix error return code in hid_bind() 2021-07-20 16:21:12 +02:00
host xhci: Do not use GFP_KERNEL in (potentially) atomic context 2021-05-22 10:40:34 +02:00
image USB: microtek: fix info-leak at probe 2019-10-17 13:42:38 -07:00
isp1760
misc USB: trancevibrator: fix control-request direction 2021-06-03 08:23:29 +02:00
mon usb: mon: Fix a deadlock in usbmon between mmap and read 2019-12-21 10:41:56 +01:00
musb usb: musb: Fix runtime PM race in musb_queue_resume_work 2021-03-03 17:44:41 +01:00
phy usb: gadget: fsl: fix link error against usb-gadget module 2020-01-29 10:24:22 +01:00
renesas_usbhs usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM 2021-03-17 16:10:15 +01:00
serial USB: serial: quatech2: fix control-request directions 2021-06-16 11:36:35 +02:00
storage usb: uas: Add PNY USB Portable SSD to unusual_uas 2021-01-12 19:49:03 +01:00
usbip usbip: synchronize event handler with sysfs code paths 2021-04-28 12:07:16 +02:00
wusbcore usb: wusbcore: security: cast sizeof to int for comparison 2018-10-03 17:01:45 -07:00
Kconfig usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT 2018-02-22 15:43:51 +01:00
Makefile
README
usb-skeleton.c USB: usb-skeleton: fix NULL-deref on disconnect 2019-10-17 13:42:29 -07:00

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("hub_wq").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
../input/	- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
../media/	- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
../net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.