1. 28 Nov, 2020 2 commits
    • Takashi Iwai's avatar
      ALSA: hda/realtek: Fix bass speaker DAC assignment on Asus Zephyrus G14 · c84bfedc
      Takashi Iwai authored
      ASUS Zephyrus G14 has two speaker pins, and the auto-parser tries to
      assign an individual DAC to each pin as much as possible.
      Unfortunately the third DAC has no volume control unlike the two DACs,
      and this resulted in the inconsistent speaker volumes.
      
      As a workaround, wire both speaker pins to the same DAC by modifying
      the existing quirk (ALC289_FIXUP_ASUS_GA401) applied to this device.
      Since this quirk entry is chained by another, we need to avoid
      applying the DAC assignment change for it.  Luckily, there is another
      quirk entry (ALC289_FIXUP_ASUS_GA502) doing the very same thing, so we
      can chain to the GA502 quirk instead.
      
      Note that this patch uses a new flag of the generic parser,
      obey_preferred_dacs, for enforcing the DACs.
      
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=210359
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20201127141104.11041-2-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      c84bfedc
    • Takashi Iwai's avatar
      ALSA: hda/generic: Add option to enforce preferred_dacs pairs · 242d990c
      Takashi Iwai authored
      The generic parser accepts the preferred_dacs[] pairs as a hint for
      assigning a DAC to each pin, but this hint doesn't work always
      effectively.  Currently it's merely a secondary choice after the trial
      with the path index failed.  This made sometimes it difficult to
      assign DACs without mimicking the connection list and/or the badness
      table.
      
      This patch adds a new flag, obey_preferred_dacs, that changes the
      behavior of the parser.  As its name stands, the parser obeys the
      given preferred_dacs[] pairs by skipping the path index matching and
      giving a high penalty if no DAC is assigned by the pairs.  This mode
      will help for assigning the fixed DACs forcibly from the codec
      driver.
      
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20201127141104.11041-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      242d990c
  2. 27 Nov, 2020 3 commits
  3. 26 Nov, 2020 1 commit
  4. 25 Nov, 2020 1 commit
  5. 24 Nov, 2020 1 commit
  6. 23 Nov, 2020 1 commit
  7. 20 Nov, 2020 1 commit
  8. 19 Nov, 2020 4 commits
  9. 18 Nov, 2020 1 commit
  10. 17 Nov, 2020 1 commit
  11. 16 Nov, 2020 7 commits
  12. 13 Nov, 2020 5 commits
  13. 11 Nov, 2020 1 commit
  14. 07 Nov, 2020 1 commit
  15. 05 Nov, 2020 3 commits
  16. 04 Nov, 2020 3 commits
  17. 03 Nov, 2020 2 commits
  18. 29 Oct, 2020 2 commits