• Takashi Iwai's avatar
    ALSA: hda - Fix conflicts between Loopback Mixing and Independent HP · a1e908ed
    Takashi Iwai authored
    This patch eventually fixes two issues:
    - Handle the case where the primary output is a headphone and can have
      independent HP mode;
      so far we checked only the case where the headphone is the secondary
      output.
    
    - Fix the conflict of HP independent mode and aamix mode;
      when switched to aamix mode, the DAC might be also switched to
      another widget shared with other outputs.  Then even if we disable
      the DAC for the original output, it doesn't change -- because the
      active route is from another (shared) DAC to HP pin through aamix.
      So, in such a case, we have to prohibit the switch to aamix for HP
      routes.
    
    This fixes issues appearing on VT codecs.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    a1e908ed
hda_generic.h 9.97 KB