From 898fe088696a8743b507c5d5e8804ba6ccdd79e3 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Wed, 19 Feb 2014 15:57:18 +0000 Subject: [PATCH] small fix git-svn-id: svn://kolibrios.org@4577 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/usb/ehci.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/usb/ehci.asm b/drivers/usb/ehci.asm index a5b856ed4a..558d8c8386 100644 --- a/drivers/usb/ehci.asm +++ b/drivers/usb/ehci.asm @@ -1569,13 +1569,13 @@ proc ehci_process_deferred and dword [esi+ehci_controller.DeferredActions-sizeof.ehci_controller], not 20h dbgstr 'warning: async advance int missed' mov [esi+usb_controller.ReadyPipeHeadAsync], eax - jmp .async_unlock -@@: - cmp dword [esp], 100 - jb .async_unlock - mov dword [esp], 100 -.async_unlock: spin_unlock_irq [esi+usb_controller.WaitSpinlock] + jmp .noasync +@@: + spin_unlock_irq [esi+usb_controller.WaitSpinlock] + cmp dword [esp], 100 + jb .noasync + mov dword [esp], 100 .noasync: ; 7. Finalize transfers processed by hardware. ; It is better to perform this step after step 4 (disconnect events),