projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git]
/
target
/
linux
/
adm5120
/
files
/
drivers
/
usb
/
host
/
adm5120-pm.c
diff --git
a/target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c
b/target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c
index
ac7bf6c
..
c88e448
100644
(file)
--- a/
target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c
+++ b/
target/linux/adm5120/files/drivers/usb/host/adm5120-pm.c
@@
-383,9
+383,8
@@
static int admhc_restart(struct admhcd *ahcd)
ed, ed->state);
}
- spin_lock(&urb->lock);
- urb->status = -ESHUTDOWN;
- spin_unlock(&urb->lock);
+ if (!urb->unlinked)
+ urb->unlinked = -ESHUTDOWN;
}
finish_unlinks(ahcd, 0);
spin_unlock_irq(&ahcd->lock);
This page took
0.021294 seconds
and
4
git commands to generate.