1. 13 3月, 2012 2 次提交
  2. 12 3月, 2012 1 次提交
  3. 10 3月, 2012 1 次提交
    • T
      ALSA: hda - Initialize vmaster slave volumes · 18478e8b
      Takashi Iwai 提交于
      When the driver is changed to use vmaster or a new slave element is
      added by the improvement of the parser code, user may face often the
      silent output because of the muted slave mixer although Master volume
      is properly set.  And they complain.  And I get upset.
      
      Although such a mixer element should be initialized via "alsactl init",
      it'd be more user-friendly if the known output slaves are unmuted and
      set to 0dB so that user can control the volume only with Master as
      default.  Since Master is still set muted as default even with this
      change, no risk of the speaker blow up, too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      18478e8b
  4. 07 3月, 2012 1 次提交
    • T
      ALSA: hda - Set codec to D3 forcibly even if not used · 785f857d
      Takashi Iwai 提交于
      We've seen a problem with a pop-noise at suspend/resume on a HP
      machine with ALC269, and it turned out to be an issue that the
      controller going to D3 while the codec is unused.
      
      When the device is once suspended and resumed and kept unused, the
      driver doesn't initialize the codecs.  Instead, the codec chips are
      set up dynamically at the first usage.  Now, suppose the device going
      to suspend again before the codec is set up.  The controller is turned
      off to D3 while the codec chips are untouched.  This caused a pop
      noise because the codec chip might have been turned on implicitly by
      the hardware.
      
      As a workaround, the codec chip needs to be set to D3 when going to
      suspend no matter whether it was used or not.  Also, for making it
      happening, the controller has to be always set up in the resume path.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      785f857d
  5. 02 3月, 2012 1 次提交
  6. 01 3月, 2012 1 次提交
    • T
      ALSA: hda - Add a fake mute feature · 3868137e
      Takashi Iwai 提交于
      Some codecs don't supply the mute amp-capabilities although the lowest
      volume gives the mute.  It'd be handy if the parser provides the mute
      mixers in such a case.
      
      This patch adds an extension amp-cap bit (which is used only in the
      driver) to represent the min volume = mute state.  Also modified the
      amp cache code to support the fake mute feature when this bit is set
      but the real mute bit is unset.
      
      In addition, conexant cx5051 parser uses this new feature to implement
      the missing mute controls.
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42825
      
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3868137e
  7. 06 2月, 2012 1 次提交
  8. 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
  9. 01 2月, 2012 1 次提交
  10. 26 11月, 2011 1 次提交
    • T
      ALSA: hda - Supports more audio streams · 01b65bfb
      Takashi Iwai 提交于
      So far, the driver supports up to 10 streams.  This is a restriction in
      hda_intel.c and hda_codec.c: in the former, the fixed array size limits
      the amount, and in the latter, the fixed device-number assignment table
      (in get_empty_pcm_device()) limits the possibility.
      
      This patch reduces the restriction by
      - using linked list for managing PCM instances in hda_intel.c, and
      - assigning non-fixed device numbers for the extra devices
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      01b65bfb
  11. 23 11月, 2011 1 次提交
  12. 21 11月, 2011 2 次提交
  13. 16 11月, 2011 4 次提交
    • T
      ALSA: hda - Give more unique names by snd_hda_get_pin_label() · 201e06ff
      Takashi Iwai 提交于
      The function now gives more unique names for the output pins by adding
      some prefix and suffix for the location and the channels.  Otherwise, it
      can pass the index number.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      201e06ff
    • T
      ALSA: hda - Merge input-jack helpers to hda_jack.c · aad37dbd
      Takashi Iwai 提交于
      We can use the very same table in hda_jack.c for managing the list for
      input-jack elements, too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      aad37dbd
    • T
      ALSA: hda - Cache the jack-detection value · 1835a0f9
      Takashi Iwai 提交于
      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: NTakashi Iwai <tiwai@suse.de>
      1835a0f9
    • T
      ALSA: hda - Introduce snd_hda_get_pin_label() · 04f5ade6
      Takashi Iwai 提交于
      Create a new helper function snd_hda_get_pin_label() for getting a label
      string for both input and output pins.  hda_get_input_pin_label() is
      obsoleted by this function, and the callers are replaced appropriately
      now by this patch.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      04f5ade6
  14. 10 11月, 2011 2 次提交
    • T
      ALSA: hda - Re-enable the check NO_PRESENCE misc bit · 2f451d2a
      Takashi Iwai 提交于
      We disabled the check of NO_PRESENCE bit of the default pin-config
      in commit f4419172 temporarily.  One problem was that the first
      implementation was wrong -- the bit after the shift must be checked.
      However, this would still give many regressions on machines with broken
      BIOS.  They set this bit wrongly even on active pins.
      
      A workaround is to check whether all pins contain this bit.  As far as
      I've checked, broken BIOSen set this bit on all pins, no matter whether
      active or not.  In such a case, the driver should ignore this bit check.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2f451d2a
    • T
      ALSA: hda - Don't add elements of other codecs to vmaster slave · aeb4b88e
      Takashi Iwai 提交于
      When a virtual mater control is created, the driver looks for slave
      elements from the assigned card instance.  But this may include the
      elements of other codecs when multiple codecs are on the same HD-audio
      bus.  This works at the first time, but it'll give Oops when it's once
      freed and re-created via reconfig sysfs.
      
      This patch changes the element-look-up strategy to limit only to the
      mixer elements of the same codec.
      Reported-by: NDavid Henningsson <david.henningsson@canonical.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      aeb4b88e
  15. 01 11月, 2011 1 次提交
  16. 26 10月, 2011 1 次提交
  17. 06 10月, 2011 2 次提交
  18. 05 10月, 2011 1 次提交
  19. 27 9月, 2011 1 次提交
  20. 13 9月, 2011 1 次提交
  21. 24 8月, 2011 1 次提交
  22. 23 8月, 2011 1 次提交
  23. 19 8月, 2011 1 次提交
  24. 15 8月, 2011 1 次提交
  25. 09 8月, 2011 1 次提交
  26. 04 8月, 2011 1 次提交
  27. 26 7月, 2011 4 次提交
  28. 14 7月, 2011 1 次提交
  29. 12 7月, 2011 2 次提交