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 | 2e0b2d53d70508ab36da94a2dfeade4dc5aa2cd6 (patch) | |
tree | 30c16156c99a35c7a6411db324eae4c83a303c41 /target/linux/adm5120/files | |
parent | db709eb81ec532f1055735e41c4462237d338cf2 (diff) | |
download | mtk-20170518-2e0b2d53d70508ab36da94a2dfeade4dc5aa2cd6.zip mtk-20170518-2e0b2d53d70508ab36da94a2dfeade4dc5aa2cd6.tar.gz mtk-20170518-2e0b2d53d70508ab36da94a2dfeade4dc5aa2cd6.tar.bz2 |
fix an unbalanced spinlock issue
SVN-Revision: 9540
Diffstat (limited to 'target/linux/adm5120/files')
-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 14fd0f9..fe60783 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); } |