From: David Vrabel Date: Wed, 8 Apr 2009 17:36:31 +0000 (+0000) Subject: USB: whci-hcd: check return value of usb_hcd_link_urb_to_ep() X-Git-Tag: v2.6.30-rc3~60^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f720af91ec2c67e9a1abbd935570f4b4e1f0dd54;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed