1. 28 5月, 2015 1 次提交
  2. 27 5月, 2015 2 次提交
  3. 26 5月, 2015 1 次提交
  4. 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
  5. 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
  6. 18 5月, 2015 3 次提交
  7. 11 5月, 2015 1 次提交
  8. 05 5月, 2015 1 次提交
  9. 04 5月, 2015 1 次提交
  10. 01 5月, 2015 1 次提交
  11. 27 4月, 2015 4 次提交
  12. 24 4月, 2015 1 次提交
  13. 23 4月, 2015 1 次提交
  14. 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
  15. 20 4月, 2015 2 次提交
  16. 17 4月, 2015 1 次提交
  17. 16 4月, 2015 2 次提交
  18. 13 4月, 2015 1 次提交
  19. 11 4月, 2015 1 次提交
  20. 10 4月, 2015 1 次提交
  21. 09 4月, 2015 7 次提交
  22. 08 4月, 2015 3 次提交
    • T
      ALSA: hda - Work around races of power up/down with runtime PM · 664c7155
      Takashi Iwai 提交于
      Currently, snd_hdac_power_up()/down() helpers checks whether the codec
      is being in pm (suspend/resume), and skips the call of runtime get/put
      during it.  This is needed as there are lots of power up/down
      sequences called in the paths that are also used in the PM itself.  An
      example is found in hda_codec.c::codec_exec_verb(), where this can
      power up the codec while it may be called again in its power up
      sequence, too.
      
      The above works in most cases, but sometimes we really want to wait
      for the real power up.  For example, the control element get/put may
      want explicit power up so that the value change is assured to reach to
      the hardware.   Using the current snd_hdac_power_up(), however,
      results in a race, e.g. when it's called during the runtime suspend is
      being performed.  In the worst case, as found in patch_ca0132.c, it
      can even lead to the deadlock because the code assumes the power up
      while it was skipped due to the check above.
      
      For dealing with such cases, this patch makes snd_hdac_power_up() and
      _down() to two variants: with and without in_pm flag check.  The
      version with pm flag check is named as snd_hdac_power_up_pm() while
      the version without pm flag check is still kept as
      snd_hdac_power_up().  (Just because the usage of the former is fewer.)
      
      Then finally, the patch replaces each call potentially done in PM with
      the new _pm() variant.
      
      In theory, we can implement a unified version -- if we can distinguish
      the current context whether it's in the pm path.  But such an
      implementation is cumbersome, so leave the code like this a bit messy
      way for now...
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=96271Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      664c7155
    • K
      ALSA: hda/realtek - Support Dell headset mode for ALC288 · e1e62b98
      Kailang Yang 提交于
      Dell create new platform with ALC288 codec.
      This patch will enable headset mode for Dino platform.
      
      [slight code refactoring and compile fix by tiwai]
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e1e62b98
    • K
      ALSA: hda/realtek - Support headset mode for ALC286/288 · f3b70332
      Kailang Yang 提交于
      Support headset mode for ALC286 and ALC288 platforms.
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f3b70332