• Takashi Iwai's avatar
    hda-intel - Fix codec probe with ATI controllers · 0a67204c
    Takashi Iwai authored
    [ALSA] hda-intel - Fix codec probe with ATI contorllers
    
    ATI controllers may have up to 4 codecs while ICH up to 3.
    Thus the earlier fix to change AZX_MAX_CODECS to 3 cause a regression
    on some devices that have the audio codec at bit#3.
    Now max codecs is defined according to the driver type, either 3 or 4.
    Currently 4 is set only to ATI chips.  Other might need the same
    change, too.
    
    Cc: Chuck Ebbert <cebbert@redhat.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
    0a67204c
hda_intel.c 47.1 KB