commit | a36c27dfd1003e6d6842fe77faaf868e3e6e9062 | [log] [tgz] |
---|---|---|
author | Sebastian Siewior <sebastian@breakpoint.cc> | Thu Jul 17 20:09:28 2008 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Aug 13 17:32:53 2008 -0700 |
tree | e493abcdda0db5b71f8d718393fa2b9c39356b18 | |
parent | 937ef73d5075997a8d1777abf217a48bef2ce029 [diff] |
usb: return error code instead of 0 in the enqueue function. if the enqueue function returns -ESHUTDOWN or -ENOMEM then we return 0 instead of an error. This leads to a timeout and then to a dequeue request of an not enqueued urb. Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>