android_kernel_sony_sdm845/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Matthew Wilcox b71c271c62 idr: add ida_is_empty
[ Upstream commit 99c494077e2d4282a17120a772eecc00ec3004cc ]

Two of the USB Gadgets were poking around in the internals of struct ida
in order to determine if it is empty.  Add the appropriate abstraction.

Link: http://lkml.kernel.org/r/1480369871-5271-63-git-send-email-mawilcox@linuxonhyperv.com
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Acked-by: Konstantin Khlebnikov <koct9i@gmail.com>
Tested-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-30 14:41:41 +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 Goodix Fingerprint device is not a modem 2021-03-17 16:10:15 +01:00
common usb: common: Consider only available nodes for dr_mode 2019-04-03 06:24:19 +02:00
core usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable 2021-03-03 17:44:31 +01:00
dwc2 usb: dwc2: Make "trimming xfer length" a debug message 2021-03-03 17:44:33 +01:00
dwc3 usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt 2021-03-03 17:44:42 +01:00
early treewide: remove redundant #include <linux/kconfig.h> 2016-10-11 15:06:33 -07:00
gadget idr: add ida_is_empty 2021-03-30 14:41:41 +02:00
host xhci: Improve detection of device initiated wake signal. 2021-03-17 16:10:15 +01:00
image USB: microtek: fix info-leak at probe 2019-10-17 13:42:38 -07:00
isp1760
misc USB: yurex: fix control-URB timeout handling 2021-01-12 19:49:04 +01: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: cp210x: add some more GE USB IDs 2021-03-17 16:10:16 +01:00
storage usb: uas: Add PNY USB Portable SSD to unusual_uas 2021-01-12 19:49:03 +01:00
usbip usbip: fix vhci_hcd attach_store() races leading to gpf 2021-03-17 16:10:16 +01: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.