1. 16 7月, 2015 1 次提交
  2. 08 7月, 2015 1 次提交
  3. 06 7月, 2015 1 次提交
  4. 29 6月, 2015 3 次提交
  5. 27 6月, 2015 1 次提交
  6. 26 6月, 2015 1 次提交
  7. 25 6月, 2015 3 次提交
  8. 20 6月, 2015 1 次提交
  9. 16 6月, 2015 3 次提交
  10. 15 6月, 2015 2 次提交
    • T
      ALSA: hda - Fix audio crackles on Dell Latitude E7x40 · 8b99aba7
      Takashi Iwai 提交于
      We still got a report that the audio crackles and noises occur with
      the recent 4.1 kernels on Dell machines.  These machines seem to need
      similar workarounds that have been applied to the recent Dell XPS 13
      models.  Since the codec of these machines (Dell Latitute E7240 and
      E7440) is different from XPS 13's one, we need a new fixup entry.
      
      Also, it was confirmed that the previous workaround to disable the
      widget power-save (commit [219f47e4: ALSA: hda - Disable widget
      power-saving for ALC292 & co]) is no longer needed after this fix.
      So, this patch includes the partial revert of the commit, too.
      Reported-and-tested-by: NMihai Donțu <mihai.dontu@gmail.com>
      Tested-by: NJonathan McDowell <noodles@earth.li>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8b99aba7
    • H
      ALSA: hda - adding a DAC/pin preference map for a HP Envy TS machine · 6ab42ff4
      Hui Wang 提交于
      On a HP Envy TouchSmart laptop, there are 2 speakers (main speaker
      and subwoofer speaker), 1 headphone and 2 DACs, without this fixup,
      the headphone will be assigned to a DAC and the 2 speakers will be
      assigned to another DAC, this assignment makes the surround-2.1
      channels invalid.
      
      To fix it, here using a DAC/pin preference map to bind the main
      speaker to 1 DAC and the subwoofer speaker will be assigned to another
      DAC.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NHui Wang <hui.wang@canonical.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6ab42ff4
  11. 13 6月, 2015 1 次提交
  12. 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
  13. 11 6月, 2015 3 次提交
    • T
      ALSA: hda - Fix link power unbalance at device removal · a457782a
      Takashi Iwai 提交于
      snd_hdac_link_power() has to be called after unregistering the codec
      device.  Otherwise the device might be already runtime-suspended, thus
      the refcount goes under zero, triggering a warning like:
      
        WARNING: CPU: 7 PID: 2014 at sound/hda/hdac_i915.c:63 snd_hdac_display_power+0x106/0x120 [snd_hda_core]()
        CPU: 7 PID: 2014 Comm: modprobe Not tainted 4.1.0-rc7-test+ #1
        Call Trace:
         [<ffffffff81697fe3>] dump_stack+0x4c/0x6e
         [<ffffffff810696da>] warn_slowpath_common+0x8a/0xc0
         [<ffffffff810697ca>] warn_slowpath_null+0x1a/0x20
         [<ffffffffa02dd526>] snd_hdac_display_power+0x106/0x120 [snd_hda_core]
         [<ffffffffa030b422>] azx_intel_link_power+0x12/0x20 [snd_hda_intel]
         [<ffffffffa037139f>] azx_link_power+0x1f/0x30 [snd_hda_codec]
         [<ffffffffa02d89fe>] snd_hdac_link_power+0x2e/0x40 [snd_hda_core]
         [<ffffffffa0368524>] snd_hda_codec_dev_free+0x34/0x50 [snd_hda_codec]
         [<ffffffffa0252061>] __snd_device_free+0x51/0xa0 [snd]
         .....
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a457782a
    • 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
  14. 09 6月, 2015 2 次提交
  15. 03 6月, 2015 2 次提交
  16. 31 5月, 2015 1 次提交
  17. 29 5月, 2015 3 次提交
  18. 28 5月, 2015 4 次提交
  19. 27 5月, 2015 2 次提交
  20. 26 5月, 2015 1 次提交
  21. 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
  22. 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