1. 15 Jun, 2015 2 commits
    • Takashi Iwai's avatar
      ALSA: hda - Fix audio crackles on Dell Latitude E7x40 · 8b99aba7
      Takashi Iwai authored
      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: default avatarMihai Donțu <mihai.dontu@gmail.com>
      Tested-by: default avatarJonathan McDowell <noodles@earth.li>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      8b99aba7
    • Hui Wang's avatar
      ALSA: hda - adding a DAC/pin preference map for a HP Envy TS machine · 6ab42ff4
      Hui Wang authored
      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: default avatarHui Wang <hui.wang@canonical.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6ab42ff4
  2. 12 Jun, 2015 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Abort the probe without i915 binding for HSW/BDW · 535115b5
      Takashi Iwai authored
      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: default avatarMengdong Lin <mengdong.lin@intel.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      535115b5
  3. 11 Jun, 2015 2 commits
    • Takashi Iwai's avatar
      ALSA: hda - Re-add the lost fake mute support · a686ec4c
      Takashi Iwai authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      a686ec4c
    • Takashi Iwai's avatar
      ALSA: hda - Continue probing even if i915 binding fails · bf06848b
      Takashi Iwai authored
      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: default avatarLibin Yang <libin.yang@intel.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      bf06848b
  4. 10 Jun, 2015 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Don't actually write registers for caps overwrites · 98a226ed
      Takashi Iwai authored
      Along with the transition to regmap for managing the cached parameter
      reads, the caps overwrite was also moved to regmap cache.  The cache
      change itself works, but it still tries to write the non-existing verb
      (the HDA parameter is read-only) wrongly.  It's harmless in most
      cases, but some chips are picky and may result in the codec
      communication stall.
      
      This patch avoids it just by adding the missing flag check in
      reg_write ops.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      98a226ed
  5. 09 Jun, 2015 1 commit
  6. 08 Jun, 2015 1 commit
  7. 03 Jun, 2015 2 commits
  8. 02 Jun, 2015 1 commit
  9. 31 May, 2015 1 commit
  10. 30 May, 2015 1 commit
  11. 29 May, 2015 3 commits
  12. 28 May, 2015 1 commit
  13. 27 May, 2015 3 commits
  14. 26 May, 2015 1 commit
  15. 24 May, 2015 2 commits
  16. 20 May, 2015 3 commits
  17. 19 May, 2015 2 commits
  18. 18 May, 2015 4 commits
  19. 12 May, 2015 6 commits
  20. 11 May, 2015 1 commit
  21. 10 May, 2015 1 commit