1. 28 2月, 2012 1 次提交
  2. 09 2月, 2012 1 次提交
  3. 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
  4. 25 1月, 2012 1 次提交
  5. 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
  6. 20 1月, 2012 1 次提交
  7. 16 1月, 2012 1 次提交
  8. 11 1月, 2012 1 次提交
  9. 14 12月, 2011 1 次提交
  10. 13 12月, 2011 2 次提交
  11. 06 12月, 2011 2 次提交
  12. 02 12月, 2011 1 次提交
    • T
      ALSA: hda - Integrate input-jack stuff into kctl-jack · 31ef2257
      Takashi Iwai 提交于
      Instead of managing input-jack stuff separately, call all stuff inside
      the kctl-jack creation, deletion and report.  The caller no longer needs
      to care about input-jack.
      
      The better integration between input-jack and kctl-jack should be done
      in the upper layer in near future, but for now, it's implemented locally
      for more tests.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      31ef2257
  13. 01 12月, 2011 1 次提交
  14. 29 11月, 2011 1 次提交
  15. 19 11月, 2011 1 次提交
  16. 16 11月, 2011 6 次提交
    • 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 - 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
    • 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
  17. 11 11月, 2011 1 次提交
    • C
      ALSA: hda - pwr_nids cleanup for IDT codecs · afef2cfa
      Charles Chin 提交于
      Clean up and fix pwr_nids for 92HD71 / 73 / 83 family codecs; remove
      pwr_mapping which was incorrect.
      
      The original pwr_nids support of 92HD83xxx was incorrect and never
      actually worked before.  Now we should have things working correctly
      without having to hack by DID anymore.
      
      It is also not necessary to explicitly turn on all the pins near the
      beginning of patch_stac92hd83xxx() now, the pins will go though
      initialization properly.
      
      Tested on 92HD66 / 71 / 73 / 75 / 83 / 89 / 91 demo boards.
      Signed-off-by: NCharles Chin <Charles.Chin@idt.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      afef2cfa
  18. 09 11月, 2011 1 次提交
  19. 03 11月, 2011 1 次提交
  20. 02 11月, 2011 2 次提交
  21. 01 11月, 2011 1 次提交
  22. 13 10月, 2011 1 次提交
    • C
      ALSA: hda - Remove bad code for IDT 92HD83 family patch · 6c5c04e5
      Charles Chin 提交于
      The purpose of this patch is to remove a section of "bad" code that
      assigns the last DAC to ports E or F in order to support notebooks
      with docking in earlier days, around ALSA 1.0.19 - 21.  This is not
      necessary now and actually breaks some configurations that use these
      ports as other devices.  This have been tested on several different
      configurations to make sure that it is working for different combinations.
      Signed-off-by: NCharles Chin <Charles.Chin@idt.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6c5c04e5
  23. 05 10月, 2011 1 次提交
  24. 03 10月, 2011 1 次提交
  25. 24 9月, 2011 1 次提交
  26. 20 9月, 2011 1 次提交
  27. 10 8月, 2011 1 次提交
  28. 27 7月, 2011 1 次提交
  29. 26 7月, 2011 3 次提交
  30. 24 7月, 2011 1 次提交