android_kernel_xiaomi_sm7250/drivers/usb/core
Oliver Neukum 6957e1ac9c USB: fix needless failure under certain conditions
in devices.c we have a piece of code for dealing with losing in a race.
If we indeed lose the race we don't care whether our own memory allocation
worked. The check for that is so early that we return early even if we
don't have to.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-02-16 15:32:17 -08:00
..
buffer.c USB: a bit more coding style cleanup 2007-02-07 15:44:40 -08:00
config.c usb: deal with broken config descriptors 2006-09-27 11:58:55 -07:00
devices.c USB: fix needless failure under certain conditions 2007-02-16 15:32:17 -08:00
devio.c USB: devio.c add missing INIT_LIST_HEAD() 2007-02-07 15:44:33 -08:00
driver.c Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 2007-02-07 19:23:21 -08:00
endpoint.c USB: In init_endpoint_class, use PTR_ERR to obtain an errno value, not IS_ERR 2007-02-16 15:32:17 -08:00
file.c USB: convert usb class devices to real devices 2007-02-07 15:44:31 -08:00
generic.c rndis_host learns ActiveSync basics 2007-02-07 15:44:33 -08:00
hcd-pci.c USB: Properly unregister reboot notifier in case of failure in ehci hcd 2006-09-27 11:58:54 -07:00
hcd.c usbcore: remove unused bandwith-related code 2007-02-07 15:44:37 -08:00
hcd.h usbcore: remove unused bandwith-related code 2007-02-07 15:44:37 -08:00
hub.c USB: total removal of multithreaded probing in usb 2007-02-07 15:44:38 -08:00
hub.h USB: Move private hub declarations out of public header file 2006-12-01 14:23:30 -08:00
inode.c [PATCH] struct path: convert usb 2006-12-08 08:28:50 -08:00
Kconfig usbcore: remove unused bandwith-related code 2007-02-07 15:44:37 -08:00
Makefile usbcore: move code among source files 2006-09-27 11:58:50 -07:00
message.c usbcore: remove unneeded error check 2007-02-07 15:44:33 -08:00
notify.c usbfs: private mutex for open, release, and remove 2006-09-27 11:58:49 -07:00
otg_whitelist.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs.c usbcore: trivial whitespace fixes 2007-02-07 15:44:40 -08:00
urb.c usbcore: trivial whitespace fixes 2007-02-07 15:44:40 -08:00
usb.c usbcore: trivial whitespace fixes 2007-02-07 15:44:40 -08:00
usb.h usbcore: remove unused argument in autosuspend 2006-12-01 14:25:53 -08:00