Files
android_kernel_xiaomi_sm8450/drivers/usb/core
Alan Stern df718962bf USB: cancel pending Set-Config requests if userspace gets there first
This patch (as1195) eliminates a potential problem identified by
Oliver Neukum.  When a driver queues an asynchronous Set-Config
request using usb_driver_set_configuration(), the request should be
cancelled if userspace changes the configuration first.  The patch
introduces a linked list of pending async Set-Config requests, and
uses it to invalidate the requests for a particular device whenever
that device's configuration is set.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07 10:00:12 -08:00
..
2009-01-07 10:00:03 -08:00
2009-01-07 10:00:08 -08:00
2009-01-07 10:00:03 -08:00
2009-01-07 10:00:08 -08:00
2009-01-05 11:54:28 -05:00
2009-01-07 10:00:08 -08:00
2009-01-07 10:00:08 -08:00
2009-01-07 10:00:08 -08:00