android_kernel_xiaomi_sm8350/drivers/usb/core
Alan Stern d617bc83ff USB: cleanup for previous patches
This patch (as951) cleans up a few loose ends from earlier patches.
Redundant checks for non-NULL urb->dev are removed, as are checks of
urb->dev->bus (which can never be NULL).  Conversely, a check for
non-NULL urb->ep is added to the unlink paths.

A homegrown round-down-to-power-of-2 loop is simplified by using the
ilog2 routine.  The comparison in usb_urb_dir_in() is made more
transparent.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:55:01 -07:00
..
buffer.c
config.c USB: add IAD support to usbfs and sysfs 2007-07-12 16:34:40 -07:00
devices.c USB: add IAD support to usbfs and sysfs 2007-07-12 16:34:40 -07:00
devio.c USB: avoid urb->pipe in usbfs 2007-10-12 14:55:01 -07:00
driver.c USB: fix linked list insertion bugfix for usb core 2007-09-11 07:48:15 -07:00
endpoint.c
file.c USB: prevent char device open/deregister race 2007-07-12 16:29:48 -07:00
generic.c USB: unify reset_resume and normal resume 2007-07-12 16:34:30 -07:00
hcd-pci.c USB: remove references to dev.power.power_state 2007-07-12 16:29:46 -07:00
hcd.c USB: cleanup for previous patches 2007-10-12 14:55:01 -07:00
hcd.h USB: separate root and non-root suspend/resume 2007-07-12 16:34:29 -07:00
hub.c USB: address-0 handling during device initialization 2007-10-12 14:55:01 -07:00
hub.h
inode.c
Kconfig USB: add power/persist device attribute 2007-07-12 16:34:30 -07:00
Makefile
message.c USB: avoid using urb->pipe in usbcore 2007-10-12 14:55:00 -07:00
notify.c
otg_whitelist.h
quirks.c USB: disable autosuspend by default for non-hubs 2007-09-13 05:49:04 -07:00
sysfs.c USB: add "descriptors" binary sysfs attribute 2007-07-19 17:46:04 -07:00
urb.c USB: cleanup for previous patches 2007-10-12 14:55:01 -07:00
usb.c USB: avoid using urb->pipe in usbcore 2007-10-12 14:55:00 -07:00
usb.h USB: add ep->enable 2007-10-12 14:55:00 -07:00