1. 08 10月, 2012 2 次提交
  2. 22 9月, 2012 1 次提交
  3. 18 9月, 2012 1 次提交
  4. 30 8月, 2012 1 次提交
  5. 22 8月, 2012 1 次提交
  6. 09 8月, 2012 1 次提交
  7. 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
  8. 03 7月, 2012 1 次提交
  9. 19 5月, 2012 1 次提交
  10. 09 5月, 2012 1 次提交
  11. 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
  12. 22 2月, 2012 2 次提交
  13. 13 2月, 2012 1 次提交
  14. 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
  15. 02 2月, 2012 4 次提交
  16. 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
  17. 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
  18. 16 11月, 2011 3 次提交
    • 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
  19. 03 11月, 2011 1 次提交
  20. 01 11月, 2011 1 次提交
  21. 28 9月, 2011 1 次提交
  22. 05 8月, 2011 1 次提交
  23. 26 7月, 2011 1 次提交
  24. 21 7月, 2011 2 次提交
  25. 18 7月, 2011 2 次提交
    • T
      ALSA: hda - Switch HP DAC dynamically with indep-HP switch for VIA · 3b607e3d
      Takashi Iwai 提交于
      This patch changes the behavior of independent-HP enum switch.  Now
      instead of returning a busy error, the driver switches dynamically the
      stream of the HP (and shared) DACs according to the current mode.
      The logic is similar like the dual-mic ADC switch, but a bit more
      complicated because of the presence of shared DAC.
      
      Together with the change, a mutex is introduced to protect against the
      possible races for the indep-HP mode setting.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3b607e3d
    • T
      ALSA: hda - Implement dynamic loopback control for VIA codecs · 3214b966
      Takashi Iwai 提交于
      This patch adds the dynamic control of analog-loopback for VIA codecs.
      
      When the loopback is enabled, the inputs from line-ins and mics are
      mixed with the front DAC, and sent to the front outputs.  The very same
      input is routed to the headhpones and speakers in loopback mode.
      However, since the loopback mix can't take other than the front DAC,
      there is no longer individual volume controls for headphones and
      speakers.  Once when the loopback control is off, these volumes take
      effect.
      
      Since the individual volumes are more desired in general use caess, the
      loopback mode is set to off as default for now.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3214b966
  26. 12 7月, 2011 1 次提交
    • T
      ALSA: hda - Expose secret DAC-AA connection of some VIA codecs · 30b45033
      Takashi Iwai 提交于
      VT1718S and co have a secret connection from DAC to AA-mix, which
      doesn't appear in the connection list obtained from the h/w.
      Currently the driver fixes the connection index locally at init, but
      now we can expose it statically via snd_hda_override_connections()
      so that this conection can be checked better by the parser in future.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      30b45033
  27. 11 7月, 2011 3 次提交
  28. 08 7月, 2011 1 次提交