diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2007-11-11 17:56:32 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2007-11-11 17:56:32 +0000 |
commit | a4a8e44e03812cf3addc3d4a9825cfd919661bb5 (patch) | |
tree | 0d5b0a0921e71a3d648ed555118faaa6ad30f43d /target/linux/adm5120/files/drivers | |
parent | db45d03226dd06051467fd162f27b1ad03a8b75b (diff) | |
download | upstream-a4a8e44e03812cf3addc3d4a9825cfd919661bb5.tar.gz upstream-a4a8e44e03812cf3addc3d4a9825cfd919661bb5.tar.bz2 upstream-a4a8e44e03812cf3addc3d4a9825cfd919661bb5.zip |
[adm5120] fix an unbalanced spinlock issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9540 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/files/drivers')
-rw-r--r-- | target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c b/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c index 14fd0f96f2..fe60783e5a 100644 --- a/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c +++ b/target/linux/adm5120/files/drivers/usb/host/adm5120-hcd.c @@ -682,9 +682,9 @@ static irqreturn_t admhc_irq(struct usb_hcd *hcd) if (ints & ADMHC_INTR_SOFI) { admhc_intr_ack(ahcd, ADMHC_INTR_SOFI); + spin_lock(&ahcd->lock); /* handle any pending ED removes */ admhc_finish_unlinks(ahcd, admhc_frame_no(ahcd)); - spin_lock(&ahcd->lock); admhc_sof_refill(ahcd); spin_unlock(&ahcd->lock); } |