From: Hans de Goede Date: Sat, 13 Sep 2014 10:26:37 +0000 (+0200) Subject: uas: zap_pending: data urbs should have completed at this time X-Git-Tag: fixes-for-v3.18-merge-window~16^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c15c5738b5219fdc273e8923b2c1a9d5e8ce3b3;p=pandora-kernel.git uas: zap_pending: data urbs should have completed at this time The data urbs are all killed before calling zap_pending, and their completion handler should have cleared their inflight flag. Do not 0 the data inflight flags, and add a check for try_complete succeeding, as it should always succeed when called from zap_pending. Signed-off-by: Hans de Goede Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed