mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[adm5120] fix an unbalanced spinlock issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9540 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -682,9 +682,9 @@ static irqreturn_t admhc_irq(struct usb_hcd *hcd)
|
|||||||
|
|
||||||
if (ints & ADMHC_INTR_SOFI) {
|
if (ints & ADMHC_INTR_SOFI) {
|
||||||
admhc_intr_ack(ahcd, ADMHC_INTR_SOFI);
|
admhc_intr_ack(ahcd, ADMHC_INTR_SOFI);
|
||||||
|
spin_lock(&ahcd->lock);
|
||||||
/* handle any pending ED removes */
|
/* handle any pending ED removes */
|
||||||
admhc_finish_unlinks(ahcd, admhc_frame_no(ahcd));
|
admhc_finish_unlinks(ahcd, admhc_frame_no(ahcd));
|
||||||
spin_lock(&ahcd->lock);
|
|
||||||
admhc_sof_refill(ahcd);
|
admhc_sof_refill(ahcd);
|
||||||
spin_unlock(&ahcd->lock);
|
spin_unlock(&ahcd->lock);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user