1. 21 1月, 2013 1 次提交
  2. 12 1月, 2013 3 次提交
  3. 10 12月, 2012 2 次提交
  4. 01 12月, 2012 1 次提交
  5. 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
  6. 09 11月, 2012 3 次提交
  7. 07 11月, 2012 3 次提交
  8. 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
  9. 08 10月, 2012 2 次提交
  10. 22 9月, 2012 1 次提交
  11. 18 9月, 2012 1 次提交
  12. 30 8月, 2012 1 次提交
  13. 22 8月, 2012 1 次提交
  14. 09 8月, 2012 1 次提交
  15. 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
  16. 03 7月, 2012 1 次提交
  17. 19 5月, 2012 1 次提交
  18. 09 5月, 2012 1 次提交
  19. 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
  20. 22 2月, 2012 2 次提交
  21. 13 2月, 2012 1 次提交
  22. 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
  23. 02 2月, 2012 4 次提交
  24. 10 1月, 2012 1 次提交
    • T
      ALSA: hda - Fix the detection of "Loopback Mixing" control for VIA codecs · 4808d12d
      Takashi Iwai 提交于
      Currently the driver checks only the out_mix_path[] for the primary
      output route for judging whether to create the loopback-mixing control
      or not.  But, there are cases where aamix-routing is available only on
      headphone or speaker paths but not on the primary output path.  So, the
      driver ignores such cases inappropriately.
      
      This patch fixes the check of the loopback-mixing control by testing
      all mix-routing paths.
      
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4808d12d
  25. 28 11月, 2011 1 次提交
    • T
      ALSA: hda - Fix jack-detection control of VT1708 · 187d333e
      Takashi Iwai 提交于
      VT1708 has no support for unsolicited events per jack-plug, the driver
      implements the workq for polling the jack-detection.  The mixer element
      "Jack Detect" was supposed to control this behavior on/off, but this
      doesn't work properly as is now.  The workq is always started and the
      HP automute is always enabled.
      
      This patch fixes the jack-detect control behavior by triggering / stopping
      the work appropriately at the state change.  Also the work checks the
      internal state to continue scheduling or not.
      
      Cc: <stable@kernel.org> [v3.1]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      187d333e
  26. 16 11月, 2011 2 次提交
    • T
      ALSA: hda - Manage unsol tags in hda_jack.c · 3a93897e
      Takashi Iwai 提交于
      Manage the tags assigned for unsolicited events dynamically together
      with the jack-detection routines.  Basically this is almost same as what
      we've done in patch_sigmatel.c.  Assign the new tag number for each new
      unsol event, associate with the given NID and the action type, etc.
      
      With this change, now all pins looked over in snd_hda_jack_add_kctls()
      are actually enabled for detection now even if the pins aren't used for
      jack-retasking by the driver.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3a93897e
    • T
      ALSA: hda - Create jack-detection kcontrols · 01a61e12
      Takashi Iwai 提交于
      Create kcontrols for pin jack-detections, which work similarly like
      jack-input layer.  Each control will notify when the jack is plugged or
      unplugged, and also user can read the value at any time via the normal
      control API.
      
      The control elements are created with iface=CARD, so that they won't
      appear in the mixer apps.
      
      So far, only the pins that enabled the jack-detection are registered.
      For covering all pins, the transition of the common unsol-tag handling
      would be needed.  Stay tuned.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      01a61e12