Rev 4324 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4324 | Rev 4555 | ||
---|---|---|---|
Line 831... | Line 831... | ||
831 | pop ecx ebx |
831 | pop ecx ebx |
832 | test eax, eax |
832 | test eax, eax |
833 | jz .err_out |
833 | jz .err_out |
834 | mov [codec.init_pins], eax |
834 | mov [codec.init_pins], eax |
835 | mov edi, eax |
835 | mov [codec.num_pins], 0 |
- | 836 | mov edi, eax |
|
836 | ;Asper ] |
837 | ;Asper ] |
837 | 838 | ||
Line 838... | Line 839... | ||
838 | if FDEBUG |
839 | if FDEBUG |
839 | push eax esi |
840 | push eax esi |
Line 853... | Line 854... | ||
853 | 854 | ||
Line 854... | Line 855... | ||
854 | mov [edi + HDA_PINCFG.nid], bx |
855 | mov [edi + HDA_PINCFG.nid], bx |
855 | stdcall snd_hda_codec_read, ebx, 0, AC_VERB_GET_CONFIG_DEFAULT, 0 |
856 | stdcall snd_hda_codec_read, ebx, 0, AC_VERB_GET_CONFIG_DEFAULT, 0 |
856 | mov [edi + HDA_PINCFG.cfg], eax |
857 | mov [edi + HDA_PINCFG.cfg], eax |
- | 858 | add edi, HDA_PINCFG.sizeof |
|
- | 859 | inc [codec.num_pins] |
|
Line 857... | Line 860... | ||
857 | 860 | ||
858 | .continue: |
- | |
859 | add edi, HDA_PINCFG.sizeof |
861 | .continue: |
860 | inc ebx |
862 | inc ebx |
861 | dec ecx |
863 | dec ecx |
Line 862... | Line -... | ||
862 | jnz .next_node |
- | |
863 | - | ||
864 | ;Asper [ |
- | |
865 | and ebx, 0xFFFF |
- | |
866 | sub bx, [codec.start_nid] |
- | |
867 | mov [codec.num_pins], ebx |
- | |
868 | ;Asper ] |
864 | jnz .next_node |
869 | 865 | ||
870 | pop edi edx ecx ebx |
866 | pop edi edx ecx ebx |
871 | xor eax, eax |
867 | xor eax, eax |
872 | ret |
868 | ret |