1. 24 8月, 2013 1 次提交
  2. 18 8月, 2013 2 次提交
  3. 16 7月, 2013 3 次提交
  4. 08 7月, 2013 1 次提交
  5. 04 7月, 2013 1 次提交
    • T
      ALSA: hda - Fix EAPD vmaster hook for AD1884 & co · 8f0b3b7e
      Takashi Iwai 提交于
      ad1884_fixup_hp_eapd() tries to set the NID for controlling the
      speaker EAPD from the pin configuration.  But the current code can't
      work expectedly since it sets spec->eapd_nid before calling the
      generic parser where the autocfg pins are set up.
      
      This patch changes the function to set spec->eapd_nid after the
      generic parser call while it sets vmaster hook unconditionally.  The
      spec->eapd_nid check is moved in the hook function itself instead.
      
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8f0b3b7e
  6. 01 7月, 2013 1 次提交
  7. 28 6月, 2013 6 次提交
  8. 27 6月, 2013 1 次提交
  9. 25 6月, 2013 7 次提交
  10. 24 6月, 2013 2 次提交
  11. 20 6月, 2013 1 次提交
  12. 19 6月, 2013 1 次提交
    • T
      ALSA: hda - Fix missing Mic Boost controls for VIA codecs · d045c5dc
      Takashi Iwai 提交于
      Some VIA codecs like VT1708S have Mic boost amps in the mic pins but
      they aren't exposed in the capability bits.  In the past driver code,
      we override the pin caps and create mic boost controls forcibly.
      While transition to the generic parser, we lost the mic boost controls
      although the pin caps are still overridden, because the generic parser
      code checks the widget caps, too.
      
      So this patch adds a new helper function to allow the override of the
      given widget capability bits, and makes VIA codecs driver to add the
      missing input-amp capability bit.
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=59861
      Cc: <stable@vger.kernel.org> [v3.9+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d045c5dc
  13. 18 6月, 2013 5 次提交
  14. 17 6月, 2013 3 次提交
  15. 06 6月, 2013 5 次提交
    • W
      ALSA: hda - Add power-welll support for haswell HDA · 99a2008d
      Wang Xingchao 提交于
      For Intel Haswell chip, HDA controller and codec have
      power well dependency from GPU side. This patch added support
      to request/release power well in audio driver. Power save
      feature should be enabled to get runtime power saving.
      
      There's deadlock when request_module(i915) in azx_probe.
      It looks like:
      device_lock(audio pci device) -> azx_probe -> module_request
      (or symbol_request) -> modprobe (userspace) -> i915 init ->
      drm_pci_init -> pci_register_driver -> bus_add_driver -> driver_attach ->
      which in turn tries all locks on pci bus, and when it tries the one on the
      audio device, it will deadlock.
      
      This patch introduce a work to store remaining probe stuff, and let
      request_module run in safe work context.
      Signed-off-by: NWang Xingchao <xingchao.wang@linux.intel.com>
      Reviewed-by: NTakashi Iwai <tiwai@suse.de>
      Reviewed-by: NLiam Girdwood <liam.r.girdwood@intel.com>
      Reviewed-by: NDavid Henningsson <david.henningsson@canonical.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      99a2008d
    • T
      ALSA: hda - Move azx_first_init() into azx_probe_continue() · 5c90680e
      Takashi Iwai 提交于
      This is a preliminary work for the upcoming Haswell HDMI audio fixes.
      
      azx_first_init() function can be safely called after the f/w loader,
      since the f/w loader doesn't require the sound hardware initialization
      beforehand.  Moving it into azx_probe_continue() cleans up the code
      flow a bit.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      5c90680e
    • W
      ALSA: hda - Fix runtime PM check · c67e2228
      Wang Xingchao 提交于
      The device can support runtime PM no matter whether it support
      signal wakeup or not. For some chips like Haswell which doesnot
      support PME by default, this patch let haswell Display HD-A controller
      enter runtime suspend, and bring more power saving whith power-well
      feature enabled.
      Signed-off-by: NWang Xingchao <xingchao.wang@linux.intel.com>
      Reviewed-by: NTakashi Iwai <tiwai@suse.de>
      Reviewed-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      c67e2228
    • T
      ALSA: hda - Don't take unresponsive D3 transition too serious · 63e51fd7
      Takashi Iwai 提交于
      When a codec is powered off, some systems don't respond properly after
      D3 FG transition, while the driver still expects the response and
      tries to fall back to different modes (polling and single-cmd).  When
      the fallback happens, the driver stays in that mode, and falling back
      to the single-cmd mode means it'll loose the unsol event handling,
      too.
      
      The unresponsiveness at D3 isn't too serious, thus this fallback is
      mostly superfluous.  We can gracefully ignore the error there so that
      the driver keeps the normal operation mode.
      
      This patch adds a new bit flag for codec read/write, set in the power
      transition stage, which is notified to the controller driver via a new
      bus->no_response_fallback flag.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      63e51fd7
    • T
      ALSA: hda - Introduce bit flags to snd_hda_codec_read/write() · e7ecc27e
      Takashi Iwai 提交于
      snd_hda_codec_read(), snd_hda_codec_write() & co take the argument
      "direct" that indicates whether the given NID is a direct reference or
      an indirect reference.  However, the indirect reference is practically
      unimplemented and never exists.  And moreover, we don't need the
      indication of indirect reference at this high level, as NID can be
      represented in 16bit values at this point.
      
      Meanwhile, there are some cases where it'd be nice to give some
      operational options to these functions.  So, we can reuse this
      argument as a new bit flag!  Pretty frugal, eh?
      
      All callers so far pass zero to this argument, thus there is no
      behavior change by this replacement.
      
      The real usage of this new bit option will be added in the following
      patches.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e7ecc27e