From 98dff22e536208f921255a7423cede743221be28 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Wed, 3 Jul 2013 18:47:31 +0000 Subject: [PATCH] undo r3594 and fix the problem properly git-svn-id: svn://kolibrios.org@3753 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/audio/intel_hda/intel_hda.asm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/audio/intel_hda/intel_hda.asm b/drivers/audio/intel_hda/intel_hda.asm index 4aef97195..c1c5c9128 100644 --- a/drivers/audio/intel_hda/intel_hda.asm +++ b/drivers/audio/intel_hda/intel_hda.asm @@ -806,7 +806,7 @@ restore out_size align 4 proc hda_irq ;+ - ;spin_lock + spin_lock if DEBUG_IRQ push eax esi ;mov esi, msgIRQ @@ -820,7 +820,7 @@ proc hda_irq ;+ call azx_readl test eax, eax jnz @f - ;spin_unlock + spin_unlock ret @@: mov ebx, eax ; status @@ -886,7 +886,7 @@ proc hda_irq ;+ @@: ;end if or eax, 1 - ;spin_unlock + spin_unlock ret endp @@ -1334,19 +1334,19 @@ endp align 4 play: - ;spin_lock + spin_lock_irq mov edx, ICH6_REG_WALLCLK call azx_readl mov [ctrl.start_wallclk], eax call azx_stream_start xor eax, eax - ;spin_unlock + spin_unlock_irq ret align 4 stop: - ;spin_lock + spin_lock_irq ;* call azx_stream_stop ;Asper: Hangs system ;R push ebx ecx edx ;R ; stop DMA @@ -1386,7 +1386,7 @@ stop: ;Asper ] xor eax, eax - ;spin_unlock + spin_unlock_irq ret ;align 4