1. 09 11月, 2012 2 次提交
  2. 26 10月, 2012 1 次提交
  3. 17 10月, 2012 1 次提交
    • T
      ALSA: hda - Add workaround for conflicting IEC958 controls · dcda5806
      Takashi Iwai 提交于
      When both an SPDIF and an HDMI device are created on the same card
      instance, multiple IEC958 controls are created with indices=0, 1, ...
      But the alsa-lib configuration can't know which index corresponds
      actually to which PCM device, and both the SPDIF and the HDMI
      configurations point to the first IEC958 control wrongly.
      
      This patch introduces a (hackish and ugly) workaround: the IEC958
      controls for the SPDIF device are re-labeled with device=1 when HDMI
      coexists.  The device=1 corresponds to the actual PCM device for
      SPDIF, so it's anyway a better representation.  In future, HDMI
      controls should be moved with the corresponding PCM device number,
      too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      dcda5806
  4. 09 10月, 2012 1 次提交
  5. 06 10月, 2012 1 次提交
  6. 14 9月, 2012 1 次提交
  7. 06 9月, 2012 2 次提交
  8. 29 8月, 2012 1 次提交
  9. 22 8月, 2012 2 次提交
  10. 16 8月, 2012 1 次提交
  11. 31 7月, 2012 2 次提交
  12. 26 7月, 2012 1 次提交
  13. 03 7月, 2012 1 次提交
  14. 26 6月, 2012 1 次提交
  15. 15 5月, 2012 4 次提交
  16. 09 5月, 2012 2 次提交
  17. 20 4月, 2012 2 次提交
    • T
      ALSA: hda - Add snd_hda_get_default_vref() helper function · 4740860b
      Takashi Iwai 提交于
      Add a new helper function to guess the default VREF pin control bits
      for mic in.  This can be used to set the pin control value safely
      matching with the actual pin capabilities.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4740860b
    • T
      ALSA: hda - Introduce snd_hda_set_pin_ctl*() helper functions · cdd03ced
      Takashi Iwai 提交于
      For setting the pin-control values more safely to match with the
      actual pin capability bits, a copule of new helper functions,
      snd_hda_set_pin_ctl() and snd_hda_set_pin_ctl_cache(), are
      introduced.  These are simple replacement of the codec verb write with
      AC_VERB_SET_PIN_WIDGET but do more sanity checks and filter out
      superfluous pin-control bits if they don't fit with the corresponding
      pin capabilities.
      
      Some codecs are screwed up or ignore the command when such a wrong bit
      is set.  These helpers will avoid such secret errors.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      cdd03ced
  18. 19 4月, 2012 1 次提交
  19. 16 3月, 2012 1 次提交
  20. 14 3月, 2012 1 次提交
  21. 13 3月, 2012 2 次提交
  22. 12 3月, 2012 1 次提交
    • T
      ALSA: hda - Rewrite the mute-LED hook with vmaster hook in patch_sigmatel.c · 2faa3bf1
      Takashi Iwai 提交于
      The mute-LED is controlled in patch_sigmatel.c by (ab-)using the
      powersave hook.  This can be now rewritten with the vmaster hook
      instead, which is much simpler and can work even without
      CONFIG_SND_HDA_POWER_SAVE kconfig.
      
      A drawback is that the mute-LED corresponds _only_ to the Master mixer
      switch instead of checking the whole DACs.  But usually this shouldn't
      be a big problem as PA enables the mixer elements accordingly.
      
      Also, this patch changes the code to create vmaster always even on
      STAC9200 and STAC925x.  The former "Master" on these chips are renamed
      as "PCM" now.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2faa3bf1
  23. 29 2月, 2012 1 次提交
  24. 28 2月, 2012 1 次提交
  25. 09 2月, 2012 1 次提交
  26. 03 2月, 2012 1 次提交
    • T
      ALSA: hda - Add suffix argument to snd_hda_add_vmaster() · 9322ca54
      Takashi Iwai 提交于
      In most cases, the slave strings for vmaster are identical between
      volumes and switches except for "xxx Volume" and "xxx Switch" suffix.
      Now snd_hda_add_vmaster() takes the optional suffix argument so that
      each string can be composed with the given suffix, and we can share the
      slave name strings in both volume and switch calls nicely.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9322ca54
  27. 25 1月, 2012 1 次提交
  28. 24 1月, 2012 1 次提交
    • T
      ALSA: hda - Fix silent outputs from docking-station jacks of Dell laptops · b4ead019
      Takashi Iwai 提交于
      The recent change of the power-widget handling for IDT codecs caused
      the silent output from the docking-station line-out jack.  This was
      partially fixed by the commit f2cbba76
      "ALSA: hda - Fix the lost power-setup of seconary pins after PM resume".
      But the line-out on the docking-station is still silent when booted
      with the jack plugged even by this fix.
      
      The remainig bug is that the power-widget is set off in stac92xx_init()
      because the pins in cfg->line_out_pins[] aren't checked there properly
      but only hp_pins[] are checked in is_nid_hp_pin().
      
      This patch fixes the problem by checking both HP and line-out pins
      and leaving the power-map correctly.
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42637
      
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b4ead019
  29. 20 1月, 2012 1 次提交
  30. 16 1月, 2012 1 次提交