1. 12 6月, 2015 1 次提交
    • T
      ALSA: hda - Abort the probe without i915 binding for HSW/BDW · 535115b5
      Takashi Iwai 提交于
      The previous patch tried to continue the probe if i915 binding fails.
      For for simplicity reason, we haven't implemented abort even for
      controller chips that are dedicated for HDMI/DP on HSW and BDW.
      However, Mengdong suggested that this can be dangerous; BIOS may
      disable gfx power well although the PCI entry for HD-audio is left,
      and this may result in the unexpected behavior, kernel errors, etc.
      
      For avoiding this situation, abort the probe at i915 binding failure
      only for HSW/BDW chips selectively.  For other chips, it still
      continues.
      
      Fixes: bf06848b ('ALSA: hda - Continue probing even if i915 binding fails')
      Reported-by: NMengdong Lin <mengdong.lin@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      535115b5
  2. 11 6月, 2015 2 次提交
    • T
      ALSA: hda - Re-add the lost fake mute support · a686ec4c
      Takashi Iwai 提交于
      Yet another regression by the transition to regmap cache; for better
      usability, we had the fake mute control using the zero amp value for
      Conexant codecs, and this was forgotten in the new hda core code.
      
      Since the bits 4-7 are unused for the amp registers (as we follow the
      syntax of AMP_GET verb), the bit 4 is now used to indicate the fake
      mute.  For setting this flag, snd_hda_codec_amp_update() becomes a
      function from a simple macro.  The bonus is that it gained a proper
      function description.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a686ec4c
    • T
      ALSA: hda - Continue probing even if i915 binding fails · bf06848b
      Takashi Iwai 提交于
      Currently snd-hda-intel driver aborts the probing of Intel HD-audio
      controller with i915 power well management when binding with i915
      driver via hda_i915_init() fails.  This is no big problem for Haswell
      and Broadwell where the HD-audio controllers are dedicated to
      HDMI/DP, thus i915 link is mandatory.  However, Skylake, Baytrail and
      Braswell have only one controller and both HDMI/DP and analog codecs
      share the same bus.  Thus, even if HDMI/DP isn't usable, we should
      keep the controller working for other codecs.
      
      For fixing this, this patch simply allows continuing the probing even
      if hda_i915_init() call fails.  This may leave stale sound components
      for HDMI/DP devices that are unbound with graphics.  We could abort
      the probing selectively, but from the code simplicity POV, it's better
      to continue in all cases.
      Reported-by: NLibin Yang <libin.yang@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      bf06848b
  3. 09 6月, 2015 1 次提交
  4. 03 6月, 2015 1 次提交
  5. 31 5月, 2015 1 次提交
  6. 29 5月, 2015 2 次提交
  7. 28 5月, 2015 2 次提交
  8. 27 5月, 2015 2 次提交
  9. 26 5月, 2015 1 次提交
  10. 24 5月, 2015 1 次提交
    • T
      Revert "ALSA: hda - Add mute-LED mode control to Thinkpad" · 3530febb
      Takashi Iwai 提交于
      This reverts commit 7290006d.
      
      Through the regression report, it was revealed that the
      tpacpi_led_set() call to thinkpad_acpi helper doesn't only toggle the
      mute LED but actually mutes the sound.  This is contradiction to the
      expectation, and rather confuses user.
      
      According to Henrique, it's not trivial to judge which TP model
      behaves "LED-only" and which model does whatever more intrusive, as
      Lenovo's implementations vary model by model.  So, from the safety
      reason, we should revert the patch for now.
      Reported-by: NMartin Steigerwald <martin@lichtvoll.de>
      Cc: Pali Rohár <pali.rohar@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3530febb
  11. 20 5月, 2015 2 次提交
    • T
      ALSA: hda - Disable widget power-saving for ALC292 & co · 219f47e4
      Takashi Iwai 提交于
      We've got reports that ALC3226 (a Dell variant of ALC292) gives click
      noises at transition from D3 to D0 when the widget power-saving is
      enabled.  Further debugging session showed that avoiding it isn't
      trivial, unfortunately, since paths are basically activated
      dynamically while the pins have been already enabled.
      
      This patch disables the widget power-saving for such codecs.
      Reported-by: NJonathan McDowell <noodles@earth.li>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      219f47e4
    • T
      ALSA: hda - Reduce verbs by node power-saves · 48f4b3a2
      Takashi Iwai 提交于
      The widget (node) power-saves restore the widget states at each
      transition from D3 to D0 on each node.  This was added in the commit
      [d545a57c:ALSA: hda - Sync node attributes at resume from widget
      power saving].  However, the test was rater false-positive; this
      wasn't needed for any codecs.
      
      Since the resync may take significant number of additional verbs to be
      executed, it's better to reduce it.  Let's disable it for now again.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      48f4b3a2
  12. 18 5月, 2015 3 次提交
  13. 11 5月, 2015 1 次提交
  14. 05 5月, 2015 1 次提交
  15. 04 5月, 2015 1 次提交
  16. 01 5月, 2015 1 次提交
  17. 27 4月, 2015 4 次提交
  18. 24 4月, 2015 1 次提交
  19. 23 4月, 2015 1 次提交
  20. 21 4月, 2015 2 次提交
    • D
      ALSA: hda - fix "num_steps = 0" error on ALC256 · 7d1b6e29
      David Henningsson 提交于
      The ALC256 does not have a mixer nid at 0x0b, and there's no
      loopback path (the output pins are directly connected to the DACs).
      
      This commit fixes an "num_steps = 0 for NID=0xb (ctl = Beep Playback Volume)"
      error (and as a result, problems with amixer/alsamixer).
      
      If there's pcbeep functionality, it certainly isn't controlled by setting an
      amp on 0x0b, so disable beep functionality (at least for now).
      
      Cc: stable@vger.kernel.org
      BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1446517Signed-off-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7d1b6e29
    • M
      ALSA: hda - add AZX_DCAPS_I915_POWERWELL to Baytrail · 40cc2392
      Mengdong Lin 提交于
      This patch addes AZX_DCAPS_I915_POWERWELL to BYT (Baytrail).
      
      Like Braswell and Skylake, the HDMI codec on Bytrail is also in the shared
      power well with GPU. This power well must be turned on before we reset link
      to probe the codec, to avoid communication failure with the codec.
      
      The side effect is that this power is always ON in S0 because the BYT HDMI
      codec does not support EPSS or D3ClkStop and so the controller doesn't enter
      D3 at runtime, and the HDMI codec and analog codec share a single physical
      HD-A link and so we cannot reset the HD-A link freely when we re-enable the
      power to use the HDMI codec.
      
      Next step is to test if an AGP reset or double AGP reset on BYT HDMI codec is
      okay to bring the HDMI codec back to a functional state after restoring the
      power. If okay, we can bind the power on/off with the HDMI codec PM without
      interrupting the analog audio.
      Signed-off-by: NMengdong Lin <mengdong.lin@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      40cc2392
  21. 20 4月, 2015 2 次提交
  22. 17 4月, 2015 1 次提交
  23. 16 4月, 2015 2 次提交
  24. 13 4月, 2015 1 次提交
  25. 11 4月, 2015 1 次提交
  26. 10 4月, 2015 1 次提交
  27. 09 4月, 2015 1 次提交