1. 21 6月, 2012 1 次提交
  2. 20 6月, 2012 3 次提交
  3. 18 6月, 2012 1 次提交
    • D
      ALSA: hda - Handle open while transitioning to D3. · b4a91cf0
      Dylan Reid 提交于
      This addresses an issue encountered when a pcm is opened while
      transitioning to low power state (codec->power_on == 1 &&
      codec->power_transition == -1).  Add snd_pcm_power_up_d3wait to
      hda_codec.  This function is used to power up from azx_open as opposed
      to snd_hda_power_up used from codec_exec_verb. When powering up from
      azx_open, wait for pending power downs to complete, avoiding the power
      up continuing in parallel with the power down on the work queue.
      
      The specific issue seen was with the CS4210 codec, it powers off the ADC
      and DAC nid in its suspend handler.  If it is re-opened before the
      ~100ms power down process completes, the ADC and DAC nid are initialized
      while powered down and audio is lost until another suspend/resume cycle.
      Signed-off-by: NDylan Reid <dgreid@chromium.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b4a91cf0
  4. 15 6月, 2012 6 次提交
  5. 14 6月, 2012 1 次提交
    • D
      ALSA: HDA: Create phantom jacks for fixed inputs and outputs · 80c8bfbe
      David Henningsson 提交于
      PulseAudio sometimes have difficulties knowing that there is a
      "Speaker" or "Internal Mic", if they have no individual volume
      controls or selectors. As a result, only e g "Headphone" might
      be created for a laptop, but no "Speaker".
      To help out, create phantom jacks (that are always present,
      at least for now) for "Speaker", "Internal Mic" etc, in case we
      detect them.
      The naming convention is e g "Speaker Phantom Jack".
      
      In order not to pollute the /dev/input namespace with even more
      devices, these are added to the kcontrols only, not the input devices.
      Signed-off-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      80c8bfbe
  6. 13 6月, 2012 1 次提交
  7. 12 6月, 2012 1 次提交
  8. 11 6月, 2012 3 次提交
  9. 08 6月, 2012 3 次提交
    • S
      ALSA: hda - HDMI Audio init all connectors when VGA-switcheroo is off · 8393ec4a
      Steven Newbury 提交于
      When VGA_SWITCHEROO support is enabled hda_intel initialises the HDMI
      audio device on the current VGA device.  When it's not enabled it only
      initialises the HDMI device on the default VGA adaptor, this means
      secondary cards get no audio support which is very unhelpful for
      multi-seat!
      
      With this patch, when SUPPORT_VGA_SWITCHEROO is disabled hda_intel
      initialises all HDMI audio devices, not just the default VGA.
      
      [minor optimizations by tiwai]
      Signed-off-by: NSteven Newbury <steve@snewbury.org.uk>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8393ec4a
    • T
      ALSA: hda - Fix uninitialized HDMI controllers with VGA-switcheroo · 12b78a7f
      Takashi Iwai 提交于
      When VGA-switcheroo is built in but unused on systems with multiple
      graphics cards, the initializations of non-default graphics cards are
      skipped and never enabled (because the switcheroo is activated only
      when the controller supports).  The current behavior is for avoiding
      the system lockup by accessing the disabled GPU, but due to the recent
      change in VGA-switcheroo, it determines the state simply by checking
      with the default VGA device.  This is the culprit.
      
      Now with the new vga_switcheroo_get_client_state(), we can know the
      initial state of the bound GPU, thus can determine the initial audio
      client state more correctly.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      12b78a7f
    • W
      ALSA: hda - power setting error check · 09617ce4
      Wang Xingchao 提交于
      codec may reject power state transition requests(reporting PS-ERROR set),
      in that case we re-issue a power state setting and check error bit again.
      Signed-off-by: NWang Xingchao <xingchao.wang@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      09617ce4
  10. 07 6月, 2012 3 次提交
  11. 06 6月, 2012 2 次提交
  12. 25 5月, 2012 1 次提交
  13. 21 5月, 2012 1 次提交
  14. 19 5月, 2012 1 次提交
  15. 18 5月, 2012 1 次提交
  16. 15 5月, 2012 5 次提交
  17. 14 5月, 2012 3 次提交
  18. 12 5月, 2012 2 次提交
  19. 10 5月, 2012 1 次提交
    • T
      ALSA: hda - Fix concurrent hash accesses · c3b6bcc2
      Takashi Iwai 提交于
      The amp and caps hashes aren't protected properly for concurrent
      accesses.  Protect them via a new mutex now.
      
      But it can't be so simple as originally thought: since the update of a
      hash table entry itself might trigger the power-up sequence which
      again accesses the hash table, we can't cover the whole function
      simply via mutex.  Thus the update part has to be split from the mutex
      and revalidated.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c3b6bcc2