1. 14 1月, 2013 2 次提交
  2. 12 1月, 2013 2 次提交
  3. 13 12月, 2012 1 次提交
  4. 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
  5. 21 11月, 2012 1 次提交
  6. 09 11月, 2012 2 次提交
  7. 26 10月, 2012 1 次提交
  8. 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
  9. 09 10月, 2012 1 次提交
  10. 06 10月, 2012 1 次提交
  11. 14 9月, 2012 1 次提交
  12. 06 9月, 2012 2 次提交
  13. 29 8月, 2012 1 次提交
  14. 22 8月, 2012 2 次提交
  15. 16 8月, 2012 1 次提交
  16. 31 7月, 2012 2 次提交
  17. 26 7月, 2012 1 次提交
  18. 03 7月, 2012 1 次提交
  19. 26 6月, 2012 1 次提交
  20. 15 5月, 2012 4 次提交
  21. 09 5月, 2012 2 次提交
  22. 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
  23. 19 4月, 2012 1 次提交
  24. 16 3月, 2012 1 次提交
  25. 14 3月, 2012 1 次提交
  26. 13 3月, 2012 2 次提交
  27. 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
  28. 29 2月, 2012 1 次提交