• Takashi Iwai's avatar
    ALSA: hda - Fix bogus codec address check for mixer name assignment · 2f0eaad9
    Takashi Iwai authored
    The recent commit [7fbe824a: ALSA: hda - Update mixer name for the
    lower codec address] tried to improve the mixer chip name assignment
    in the order of codec address.  However, this fix was utterly bogus;
    it checks the field set in each codec, thus this value is reset at
    each codec creation, of course.  For really handling this priority,
    the assignment has to be remembered in the common place, namely in
    hda_bus, instead of hda_codec.
    
    Fixes: 7fbe824a ('ALSA: hda - Update mixer name for the lower codec address')
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    2f0eaad9
hda_bind.c 6.58 KB