1. 11 9月, 2014 1 次提交
    • T
      ALSA: hda - Get rid of action field from struct hda_jack_tbl · 62f949bf
      Takashi Iwai 提交于
      The action value assigned to each hda_jack_tbl entry is mostly
      superfluous.  The actually used values are either the widget NID or a
      value specific to the callback.
      
      The former case can be simply replaced by a reference to widget NID
      itself.  The only place doing the latter is STAC/IDT codec driver for
      the powermap handling.  But, the code doesn't need to check the action
      field at all -- the function jack_update_power() is called either with
      a specific pin or with NULL.  So the check of jack->action can be
      removed completely there, too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      62f949bf
  2. 11 2月, 2014 1 次提交
  3. 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
  4. 29 7月, 2013 1 次提交
  5. 25 6月, 2013 1 次提交
    • T
      ALSA: hda - Use auto_mute_via_amp=1 for VT1708 · eb33ccf7
      Takashi Iwai 提交于
      We've got bug report wrt many machines with VT1708 (e.g. IBM POS
      machines) showing the broken auto-mute behavior.  It turned out that
      the problem is that the pin control values of the speaker and line-out
      pins are completely ignored.  As a workaround, let's use the newly
      introduced feature of the generic parser, to control the mute via amp
      on pins.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      eb33ccf7
  6. 19 6月, 2013 1 次提交
    • T
      ALSA: hda - Fix missing Mic Boost controls for VIA codecs · d045c5dc
      Takashi Iwai 提交于
      Some VIA codecs like VT1708S have Mic boost amps in the mic pins but
      they aren't exposed in the capability bits.  In the past driver code,
      we override the pin caps and create mic boost controls forcibly.
      While transition to the generic parser, we lost the mic boost controls
      although the pin caps are still overridden, because the generic parser
      code checks the widget caps, too.
      
      So this patch adds a new helper function to allow the override of the
      given widget capability bits, and makes VIA codecs driver to add the
      missing input-amp capability bit.
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=59861
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d045c5dc
  7. 05 6月, 2013 1 次提交
  8. 03 6月, 2013 3 次提交
  9. 22 3月, 2013 1 次提交
    • T
      ALSA: hda - VIA prefers side surrounds over HP · 4abdbd1c
      Takashi Iwai 提交于
      The recent fix for the independent HP reduced the availability of the
      side surround output, because there are only 4 DACs for 7.1 and a HP
      outputs.  Adjust the badness tables for VIA so that 7.1 outputs are
      activated for the cost of missing independent HP.
      
      Once when we implement the dynamic DAC switching to multiple outputs,
      this conflicts will be eased in future...
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4abdbd1c
  10. 07 2月, 2013 1 次提交
  11. 05 2月, 2013 2 次提交
  12. 25 1月, 2013 2 次提交
  13. 21 1月, 2013 1 次提交
  14. 12 1月, 2013 3 次提交
  15. 10 12月, 2012 2 次提交
  16. 01 12月, 2012 1 次提交
  17. 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
  18. 09 11月, 2012 3 次提交
  19. 07 11月, 2012 3 次提交
  20. 10 10月, 2012 1 次提交
    • T
      ALSA: hda - Add missing hda_gen_spec to struct via_spec · 7819d1c7
      Takashi Iwai 提交于
      The commit [4b527b65 ALSA: hda - limit internal mic boost for Asus
      X202E] introduced the use of auto-parser code, but it forgot to add
      struct hda_gen_spec at the head of codec->spec which the auto-parser
      assumes silently.  Without this record, it may result in memory
      corruption.
      
      This patch adds the missing piece.
      
      Cc: <stable@vger.kernel.org> [v3.5+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7819d1c7
  21. 08 10月, 2012 2 次提交
  22. 22 9月, 2012 1 次提交
  23. 18 9月, 2012 1 次提交
  24. 30 8月, 2012 1 次提交
  25. 22 8月, 2012 1 次提交
  26. 09 8月, 2012 1 次提交
  27. 25 7月, 2012 1 次提交
    • T
      ALSA: hda - Fix invalid D3 of headphone DAC on VT202x codecs · 6162552b
      Takashi Iwai 提交于
      We've got a bug report about the silent output from the headphone on a
      mobo with VT2021, and spotted out that this was because of the wrong
      D3 state on the DAC for the headphone output.  The bug is triggered by
      the incomplete check for this DAC in set_widgets_power_state_vt1718S().
      It checks only the connectivity of the primary output (0x27) but
      doesn't consider the path from the headphone pin (0x28).
      
      Now this patch fixes the problem by checking both pins for DAC 0x0b.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6162552b
  28. 03 7月, 2012 1 次提交