android_kernel_xiaomi_sm8350/drivers/usb
Simon Arlott 7d5e1dd40b usbatm: Detect usb device shutdown and ignore failed urbs
Detect usb device shutdown and ignore failed urbs.  This happens when the
driver is unloaded or the device is unplugged.

I'm not sure what other urb statuses should be ignored, and the warning
message doesn't need to be shown when the module is unloaded or the device
is removed.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Cc: Duncan Sands <duncan.sands@math.u-psud.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-04-27 13:28:41 -07:00
..
atm usbatm: Detect usb device shutdown and ignore failed urbs 2007-04-27 13:28:41 -07:00
class USB: cdc-acm: export parsed capabilities through sysfs 2007-04-27 13:28:33 -07:00
core USB: fix signed jiffies issue in autosuspend logic 2007-04-27 13:28:39 -07:00
gadget USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug 2007-04-27 13:28:40 -07:00
host USB: add an ohci board-specific quirk 2007-04-27 13:28:40 -07:00
image [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
input USB: ati_remote2: Add channel support 2007-04-27 13:28:37 -07:00
misc USB: Remove duplicate define of OHCI_QUIRK_ZFMICRO 2007-04-27 13:28:41 -07:00
mon usbmon: bus zero 2007-04-27 13:28:39 -07:00
net USB: usbnet reports minidriver name through ethtool 2007-04-27 13:28:40 -07:00
serial USB: BandRich BandLuxe HSDPA Data Card Driver 2007-04-27 13:28:41 -07:00
storage libusual: change block scope variable to function scope 2007-04-27 13:28:34 -07:00
Kconfig
Makefile USB: Driver to charge USB blackberry devices 2007-02-16 15:32:17 -08:00
README
usb-skeleton.c USB: kill BKL in skeleton driver 2007-04-27 13:28:33 -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 ("khubd").

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.