aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-06-20 10:04:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-06-20 10:04:53 +0000
commit585c56bd1a4e06586dfe7feb62904a6146614ab4 (patch)
treefa86fe6d46d0da58d12d3989a547b1cc42e19f3c /target/linux/adm5120/files
parentc738aae911194bd4ac80b32a83964ffb53eab000 (diff)
downloadupstream-585c56bd1a4e06586dfe7feb62904a6146614ab4.tar.gz
upstream-585c56bd1a4e06586dfe7feb62904a6146614ab4.tar.bz2
upstream-585c56bd1a4e06586dfe7feb62904a6146614ab4.zip
[adm5120] fix usb mis-cleanup after r27162 (#9581)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27243 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/files')
-rw-r--r--target/linux/adm5120/files/drivers/usb/host/adm5120-q.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/adm5120/files/drivers/usb/host/adm5120-q.c b/target/linux/adm5120/files/drivers/usb/host/adm5120-q.c
index 5d95ab1b14..d7d9e67ded 100644
--- a/target/linux/adm5120/files/drivers/usb/host/adm5120-q.c
+++ b/target/linux/adm5120/files/drivers/usb/host/adm5120-q.c
@@ -718,10 +718,11 @@ rescan_all:
* frame counter wraps and EDs with partially retired TDs
*/
if (likely(HC_IS_RUNNING(admhcd_to_hcd(ahcd)->state))) {
- if (tick_before(tick, ed->tick))
+ if (tick_before(tick, ed->tick)) {
skip_ed:
last = &ed->ed_rm_next;
continue;
+ }
#if 0
if (!list_empty(&ed->td_list)) {
struct td *td;