Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4323 → Rev 4324

/drivers/audio/intel_hda/CODEC.INC
512,6 → 512,22
test eax, eax
jnz @f
 
;Asper+: try to use another codec if possible [
if DEBUG
push esi
mov esi, msgNoAFGFound
call SysMsgBoardStr
pop esi
end if
push ecx
inc eax
mov ecx, [codec.addr]
shl eax, cl
pop ecx
cmp eax, [ctrl.codec_mask]
jl .skip_codec
;Asper+]
 
mov eax, [codec.mfg]
test eax, eax
jnz @f
521,6 → 537,7
call SysMsgBoardStr
pop esi
end if
.skip_codec:
mov eax, -1
ret
@@:
560,6 → 577,7
; power up all before initialization
stdcall snd_hda_set_power_state, ebx, AC_PWRST_D0
 
xor eax, eax
pop ebx
ret
endp