android_kernel_xiaomi_sm8350/drivers/usb/host/whci
David Vrabel f720af91ec USB: whci-hcd: check return value of usb_hcd_link_urb_to_ep()
Check the return value of usb_hcd_link_urb_to_ep() and do not add the
urb to the ASL/PZL if it returns an error.

Omitting the check results in urbs that appear to be submitted
successfully but then cannot be unliked (because
usb_hcd_check_unlink_urb() returns an error).  This can cause khubd (for
example) to block forever in usb_kill_urb().

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-04-17 10:50:27 -07:00
..
asl.c USB: whci-hcd: check return value of usb_hcd_link_urb_to_ep() 2009-04-17 10:50:27 -07:00
debug.c wusb: add debug files for ASL, PZL and DI to the whci-hcd driver 2008-11-26 13:36:59 +00:00
hcd.c USB: whci-hcd: provide a endpoint_reset method 2009-04-17 10:50:27 -07:00
hw.c wusb: timeout when waiting for ASL/PZL updates in whci-hcd 2009-01-07 10:54:22 +00:00
init.c
int.c wusb: remove unused #include <version.h> 2008-10-31 15:10:27 +00:00
Kbuild wusb: add debug files for ASL, PZL and DI to the whci-hcd driver 2008-11-26 13:36:59 +00:00
pzl.c USB: whci-hcd: check return value of usb_hcd_link_urb_to_ep() 2009-04-17 10:50:27 -07:00
qset.c USB: whci-hcd: provide a endpoint_reset method 2009-04-17 10:50:27 -07:00
whcd.h USB: whci-hcd: provide a endpoint_reset method 2009-04-17 10:50:27 -07:00
whci-hc.h USB: whci-hcd: provide a endpoint_reset method 2009-04-17 10:50:27 -07:00
wusb.c wusb: add debug files for ASL, PZL and DI to the whci-hcd driver 2008-11-26 13:36:59 +00:00