linux-xiaomi-chiron/include/linux/usb
Jason Wessel 917778267f USB: ehci-dbgp: stability improvements and external re-init
This patch implements several changes:

1) Improve the capability to debug the dbgp driver

   The dbgp_ehci_status() was added in a number of places to report
   the critical ehci registers to diagnose the cause of a failure of
   the ehci-dbgp driver.

2) Capability to survive the host controller initialization

   The dbgp_external_startup(), dbgp_not_safe, and dbgp_phys_port were
   added so as to allow the ehci-dbgp to re-initialize after the ehci
   host controller is reset by the standard host controller driver.
   This same routine is common for the early startup or
   re-initialization.

   This resulted in the need to move some of the initialization code
   out of the __init section because the ehci driver has the
   possibility to be loaded later on as a kernel module.

3) Stability improvements for device initialization

   The device enumeration from 0 to 127 has the possibility to fail
   the first time after a warm reset on some older EHCI debug
   controllers.  The enumeration will be tried up to 3 times to
   account for this failure case.

   The dbg_wait_until_complete() was changed to wait up to 250 ms
   before failing which only comes into play during device
   initialization. The maximum delay will never get hit during the
   course of normal operation of the driver, unless the device got
   unplugged or there was a ehci controller failure, in which case the
   dbgp device driver will shut itself down.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: dbrownell@users.sourceforge.net
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-23 06:46:38 -07:00
..
association.h USB: wusb: annotate association types withe proper endianness 2009-01-07 09:59:51 -08:00
atmel_usba_udc.h
audio.h USB: audio: guard kernel-only code with __KERNEL__ 2009-09-23 06:46:31 -07:00
c67x00.h
cdc.h usbnet: CDC EEM support (v5) 2009-05-04 12:01:43 -07:00
ch9.h USB: Move vendor subclass definition from usb/audio.h to usb/ch9.h 2009-09-23 06:46:19 -07:00
composite.h USB: composite.h: mark private struct members as private: 2009-06-15 21:44:44 -07:00
ehci_def.h USB: ehci-dbgp: stability improvements and external re-init 2009-09-23 06:46:38 -07:00
g_printer.h
gadget.h USB: gpio_vbus: add delayed vbus_session calls 2009-03-24 16:20:26 -07:00
gadgetfs.h headers_check fix: usb/gadgetfs.h 2009-01-30 23:37:37 +05:30
gpio_vbus.h USB: otg: gpio_vbus transceiver stub 2009-01-07 10:00:02 -08:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1362.h USB: NXP ISP1362 USB host driver 2009-09-23 06:46:30 -07:00
isp1760.h USB: isp1760: allow platform devices to customize devflags 2009-09-23 06:46:29 -07:00
Kbuild usb: vstusb.c : new driver for spectrometers used by Vernier Software & Technology, Inc. 2008-10-17 14:41:01 -07:00
langwell_udc.h USB: Add Intel Langwell USB Device Controller driver 2009-06-15 21:44:47 -07:00
m66592.h usb: m66592-udc platform data on_chip support 2009-07-23 13:04:15 +09:00
midi.h
musb.h USB: musb: Prevent multiple includes of musb.h 2009-04-23 14:15:28 -07:00
net2280.h
otg.h USB: nop-usb-xceiv: behave when linked as a module 2009-06-15 21:44:40 -07:00
quirks.h USB: add quirk to avoid config and interface strings 2009-03-24 16:20:25 -07:00
r8a66597.h usb: move r8a66597 register defines 2009-07-23 13:04:10 +09:00
rndis_host.h rndis_wlan: handle 802.11 indications from device 2009-08-04 16:44:17 -04:00
serial.h USB: use kfifo to buffer usb-generic serial writes 2009-09-23 06:46:34 -07:00
sl811.h
tmc.h
usbnet.h usbnet: convert to netdev_tx_t 2009-09-01 01:13:22 -07:00
video.h V4L/DVB (12187): uvcvideo: Move UVC definitions to linux/usb/video.h 2009-09-12 12:17:19 -03:00
vstusb.h usb: vstusb.c : new driver for spectrometers used by Vernier Software & Technology, Inc. 2008-10-17 14:41:01 -07:00
wusb-wa.h wusb: do a proper channel stop 2008-10-28 12:08:46 +00:00
wusb.h trivial: wusb: Storage class should be before const qualifier 2009-03-30 15:22:03 +02:00