diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-06-20 10:04:53 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-06-20 10:04:53 +0000 |
commit | 6cb3195b40c3904d8aa67802e37768b21164b6ab (patch) | |
tree | af3a64d1ca1589a4caa62e2a716e543183d49f17 /target/linux | |
parent | ca705913cca0ea90af6f7cf8a700587e450673fe (diff) | |
download | mtk-20170518-6cb3195b40c3904d8aa67802e37768b21164b6ab.zip mtk-20170518-6cb3195b40c3904d8aa67802e37768b21164b6ab.tar.gz mtk-20170518-6cb3195b40c3904d8aa67802e37768b21164b6ab.tar.bz2 |
fix usb mis-cleanup after r27162 (#9581)
SVN-Revision: 27243
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/adm5120/files/drivers/usb/host/adm5120-q.c | 3 |
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 5d95ab1..d7d9e67 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; |