android_kernel_xiaomi_sm8350/drivers/usb/host
Alan Stern 9ad3d6ccf5 [PATCH] USB: Remove USB private semaphore
This patch (as605) removes the private udev->serialize semaphore,
relying instead on the locking provided by the embedded struct device's
semaphore.  The changes are confined to the core, except that the
usb_trylock_device routine now uses the return convention of
down_trylock rather than down_read_trylock (they return opposite values
for no good reason).

A couple of other associated changes are included as well:

	Now that we aren't concerned about HCDs that avoid using the
	hcd glue layer, usb_disconnect no longer needs to acquire the
	usb_bus_lock -- that can be done by usb_remove_hcd where it
	belongs.

	Devices aren't locked over the same scope of code in
	usb_new_device and hub_port_connect_change as they used to be.
	This shouldn't cause any trouble.

Along with the preceding driver core patch, this needs a lot of testing.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-04 13:48:34 -08:00
..
ehci-dbg.c
ehci-hcd.c [PATCH] USB: hcd uses EXTRA_CFLAGS for -DDEBUG 2006-01-04 13:48:30 -08:00
ehci-hub.c [PATCH] USB: EHCI updates (4/4) driver model wakeup flags 2006-01-04 13:48:30 -08:00
ehci-mem.c
ehci-pci.c [PATCH] USB: central handling for host controllers that were reset during suspend/resume 2006-01-04 13:48:31 -08:00
ehci-q.c [PATCH] USB: EHCI: fix conflation of buf == 0 with len == 0 2006-01-04 13:48:29 -08:00
ehci-sched.c [PATCH] USB: Fix USB suspend/resume crasher (#2) 2005-11-29 21:39:23 -08:00
ehci.h
hc_crisv10.c [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
hc_crisv10.h
isp116x-hcd.c [PATCH] USB: wakeup flag updates (3/3) isp116x-hcd 2006-01-04 13:48:30 -08:00
isp116x.h [PATCH] USB: isp116x-hcd: cleanup 2006-01-04 13:48:29 -08:00
Kconfig
Makefile [PATCH] USB: hcd uses EXTRA_CFLAGS for -DDEBUG 2006-01-04 13:48:30 -08:00
ohci-au1xxx.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
ohci-dbg.c
ohci-hcd.c [PATCH] USB: central handling for host controllers that were reset during suspend/resume 2006-01-04 13:48:31 -08:00
ohci-hub.c [PATCH] USB: Remove USB private semaphore 2006-01-04 13:48:34 -08:00
ohci-lh7a404.c [PATCH] USB: OHCI lh7a404 platform device conversion fixup 2005-11-17 11:29:55 -08:00
ohci-mem.c
ohci-omap.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
ohci-pci.c [PATCH] USB: Fix USB suspend/resume crasher (#2) 2005-11-29 21:39:23 -08:00
ohci-ppc-soc.c [PATCH] Fix copy-paste bug in ohci-ppc-soc.c 2005-11-18 07:49:45 -08:00
ohci-pxa27x.c [PATCH] USB: Add pxa27x OHCI PM functions 2006-01-04 13:48:29 -08:00
ohci-q.c
ohci-s3c2410.c [DRIVER MODEL] Convert platform drivers to use struct platform_driver 2005-11-09 22:32:44 +00:00
ohci-sa1111.c
ohci.h
pci-quirks.c [PATCH] USB: hcd uses EXTRA_CFLAGS for -DDEBUG 2006-01-04 13:48:30 -08:00
sl811_cs.c [PATCH] USB: hcd uses EXTRA_CFLAGS for -DDEBUG 2006-01-04 13:48:30 -08:00
sl811-hcd.c [PATCH] USB: central handling for host controllers that were reset during suspend/resume 2006-01-04 13:48:31 -08:00
sl811.h
uhci-debug.c
uhci-hcd.c [PATCH] USB: central handling for host controllers that were reset during suspend/resume 2006-01-04 13:48:31 -08:00
uhci-hcd.h
uhci-hub.c
uhci-q.c