1. 13 1月, 2014 1 次提交
  2. 08 1月, 2014 1 次提交
  3. 11 12月, 2013 1 次提交
    • T
      ALSA: hda - Add static DAC/pin mapping for AD1986A codec · 3690739b
      Takashi Iwai 提交于
      AD1986A codec is a pretty old codec and has really many hidden
      restrictions.  One of such is that each DAC is dedicated to certain
      pin although there are possible connections.  Currently, the generic
      parser tries to assign individual DACs as much as possible, and this
      lead to two bad situations: connections where the sound actually
      doesn't work, and connections conflicting other channels.
      
      We may fix this by trying to find the best connections more harder,
      but as of now, it's easier to give some hints for paired DAC/pin
      connections and honor them if available, since such a hint is needed
      only for specific codecs (right now only AD1986A, and there will be
      unlikely any others in future).
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64971
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=66621
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3690739b
  4. 09 12月, 2013 1 次提交
    • T
      ALSA: hda - Enable stereo mix as default for AD and VIA codecs · f1e762dd
      Takashi Iwai 提交于
      AD and VIA codecs had stereo mixer input enabled as default before
      moving to the generic parser, and people think the lack of such a
      regression.  In this patch, the stereo mixer input is added back to
      the input selection if no auto-mic is available, and if it's not
      disabled explicitly via hint.  This should satisfy most of demands,
      i.e. stereo mix on desktop machines like what it worked before, and it
      still keeps the new auto-mic feature on laptops.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f1e762dd
  5. 02 12月, 2013 3 次提交
  6. 13 11月, 2013 2 次提交
  7. 26 10月, 2013 2 次提交
    • T
      ALSA: hda - Sync EAPD with vmaster on AD1984A Thinkpads · afb5a779
      Takashi Iwai 提交于
      As EAPD on NID 0x12 (speaker pin) is used as the master amp on
      Thinkpads with AD1984A codec, we can hook this to vmaster for saving a
      bit more power at master mute state.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      afb5a779
    • T
      ALSA: hda - Fix silent headphone on Thinkpads with AD1984A codec · 1ac32930
      Takashi Iwai 提交于
      AD1984A codec has a couple of pins with EAPD controls, and the generic
      codec driver tries to turn each of them on/off depending on the pin
      active state.  However, Thinkpads seem to use EAPD of the speaker pin
      as a master EAPD for controlling the mute of all outputs, including
      the headphone.  This results in the dead headphone output via the
      headphone plugging because it mutes the speaker and turns off EAPD.
      
      The fix is to simply add spec->gen.keep_on_eapd flag.
      
      [This is a regression fix on 3.12 where we moved the AD codec parser
       to the generic parser.  3.11 and earlier didn't show this problem
       because still static quirks have been used.]
      Reported-and-tested-by: NVito Caputo <vcaputo@gnugeneration.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1ac32930
  8. 05 7月, 2013 7 次提交
  9. 04 7月, 2013 7 次提交
  10. 18 3月, 2013 1 次提交
  11. 24 1月, 2013 1 次提交
  12. 23 1月, 2013 3 次提交
  13. 22 1月, 2013 2 次提交
    • T
      ALSA: hda - Add SPDIF mux control to AD codec auto-parser · 272f3ea3
      Takashi Iwai 提交于
      AD codecs have strange implementations for choosing the SPDIF-output
      mux source: the digital audio out widget may take the sources from
      multiple connections, where 0x01 indicates it's a PCM while others
      point ADCs.  It's obviously invalid in the HD-audio spec POV, but it's
      somehow convincing, too.  And, to make things more complex, AD1988A
      and AD1882 have deeper connection routes that aren't expressed
      correctly.
      
      In this patch, the SPDIF mux control is implemented in two ways:
      - For easier one like AD1981, AD1983, AD1884 and AD1984, where the
        SPDIF audio out widget takes just two or three sources, we can
        simply implement via the normal input_mux and connection verb
        calls.
      
      - For the complex routes like AD1988A (but not AD1988B) or AD1882, we
        prepare "faked" paths represented statically, and switch the paths
        using these static ones, instead of parsing the routes from the
        widget tree.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      272f3ea3
    • T
      ALSA: hda - Add aamix NID to AD codecs · f2f8be43
      Takashi Iwai 提交于
      The aamix NIDs are also missing for AD codecs.  All AD codecs seem to
      have a (more or less) working aamix widget.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f2f8be43
  14. 21 1月, 2013 1 次提交
  15. 18 1月, 2013 1 次提交
  16. 12 1月, 2013 1 次提交
    • T
      ALSA: hda - Add generic parser support to Analog Device codec driver · 78bb3cb0
      Takashi Iwai 提交于
      This patch adds the support for the generic auto-parser to AD codec
      driver.  For AD1988, the old code is replaced simply with the new
      generic parser.  For other codecs, new model "auto" is added and
      directed to use the generic parser.
      
      No fixup codes have been implemented yet as of now.  Eventually we'd
      replace each static quirk with the generic parser + fixup.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      78bb3cb0
  17. 10 1月, 2013 1 次提交
  18. 28 11月, 2012 1 次提交
    • T
      ALSA: hda - Call snd_array_init() early and only once · 361dab3e
      Takashi Iwai 提交于
      This is a preliminary patch for introducing a protection to access
      races of snd_array instances.  Call snd_array_init() appropriately
      at the initialization time and don't call it twice.
      
      Also the allocations of codec-spec structs are cleaned up by helper
      functions in patch_sigmatel.c and patch_analog.c.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      361dab3e
  19. 21 11月, 2012 1 次提交
  20. 05 11月, 2012 1 次提交
  21. 19 9月, 2012 1 次提交