An error occurred fetching the project authors.
  1. 10 Dec, 2012 1 commit
  2. 30 Nov, 2012 1 commit
  3. 28 Nov, 2012 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Call snd_array_init() early and only once · 361dab3e
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      361dab3e
  4. 09 Nov, 2012 1 commit
  5. 08 Nov, 2012 2 commits
  6. 07 Nov, 2012 3 commits
  7. 10 Oct, 2012 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Add missing hda_gen_spec to struct via_spec · 7819d1c7
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      7819d1c7
  8. 08 Oct, 2012 2 commits
  9. 22 Sep, 2012 1 commit
  10. 18 Sep, 2012 1 commit
  11. 30 Aug, 2012 1 commit
  12. 22 Aug, 2012 1 commit
  13. 09 Aug, 2012 1 commit
  14. 25 Jul, 2012 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Fix invalid D3 of headphone DAC on VT202x codecs · 6162552b
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      6162552b
  15. 03 Jul, 2012 1 commit
  16. 19 May, 2012 1 commit
  17. 08 May, 2012 1 commit
  18. 20 Apr, 2012 2 commits
    • Takashi Iwai's avatar
      ALSA: hda - Add snd_hda_get_default_vref() helper function · 4740860b
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      4740860b
    • Takashi Iwai's avatar
      ALSA: hda - Introduce snd_hda_set_pin_ctl*() helper functions · cdd03ced
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      cdd03ced
  19. 22 Feb, 2012 2 commits
  20. 13 Feb, 2012 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Fix initialization of secondary capture source on VT1705 · fc1156c0
      Takashi Iwai authored
      VT1705 codec has two ADCs where the secondary ADC has no MUX but only
      a fixed connection to the mic pin.  This confused the driver and it
      tries always overriding the input-source selection by assumption of
      the existing MUX for the secondary ADC, resulted in resetting the
      input-source at each time PM (including power-saving) occurs.
      
      The fix is simply to check the existence of MUX for secondary ADCs in
      the initialization code.
      Tested-by: default avatarAnisse Astier <anisse@astier.eu>
      Cc: <stable@kernel.org> [v3.1+]
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      fc1156c0
  21. 03 Feb, 2012 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Add suffix argument to snd_hda_add_vmaster() · 9322ca54
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      9322ca54
  22. 02 Feb, 2012 4 commits
  23. 10 Jan, 2012 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Fix the detection of "Loopback Mixing" control for VIA codecs · 4808d12d
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      4808d12d
  24. 27 Nov, 2011 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Fix jack-detection control of VT1708 · 187d333e
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      187d333e
  25. 16 Nov, 2011 3 commits
    • Takashi Iwai's avatar
      ALSA: hda - Manage unsol tags in hda_jack.c · 3a93897e
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      3a93897e
    • Takashi Iwai's avatar
      ALSA: hda - Create jack-detection kcontrols · 01a61e12
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      01a61e12
    • Takashi Iwai's avatar
      ALSA: hda - Cache the jack-detection value · 1835a0f9
      Takashi Iwai authored
      Introduce a table containing the pins and their jack-detection states
      for avoiding the unnecessary verbs to check the pin status at each time.
      
      When the unsol event is enabled via snd_hda_jack_detect_enable(), it
      automatically adds the given NID to the table.  Then the driver supposes
      that the codec driver will set the dirty flag appropariately when an
      unsolicited event is invoked for that pin.
      
      The behavior for reading other pins that aren't registered in the table
      doesn't change.  Only the pins assigned to the table are cached, so far.
      
      In near futre, this table can be extended to use the central place for
      the unsolicited events of all pins, etc, and eventually include the
      jack-detect kcontrols that replace the current input-jack stuff.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      1835a0f9
  26. 02 Nov, 2011 1 commit
  27. 31 Oct, 2011 1 commit
  28. 28 Sep, 2011 1 commit
  29. 05 Aug, 2011 1 commit