Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3752 → Rev 3753

/drivers/audio/intel_hda/intel_hda.asm
806,7 → 806,7
 
align 4
proc hda_irq ;+
;spin_lock
spin_lock
if DEBUG_IRQ
push eax esi
;mov esi, msgIRQ
820,7 → 820,7
call azx_readl
test eax, eax
jnz @f
;spin_unlock
spin_unlock
ret
@@:
mov ebx, eax ; status
886,7 → 886,7
@@:
;end if
or eax, 1
;spin_unlock
spin_unlock
ret
endp
 
1334,7 → 1334,7
 
align 4
play:
;spin_lock
spin_lock_irq
mov edx, ICH6_REG_WALLCLK
call azx_readl
mov [ctrl.start_wallclk], eax
1341,12 → 1341,12
 
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
;Asper ]
 
xor eax, eax
;spin_unlock
spin_unlock_irq
ret
 
;align 4