1. 20 4月, 2012 2 次提交
    • T
      ALSA: hda - Add snd_hda_get_default_vref() helper function · 4740860b
      Takashi Iwai 提交于
      Add a new helper function to guess the default VREF pin control bits
      for mic in.  This can be used to set the pin control value safely
      matching with the actual pin capabilities.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4740860b
    • T
      ALSA: hda - Introduce snd_hda_set_pin_ctl*() helper functions · cdd03ced
      Takashi Iwai 提交于
      For setting the pin-control values more safely to match with the
      actual pin capability bits, a copule of new helper functions,
      snd_hda_set_pin_ctl() and snd_hda_set_pin_ctl_cache(), are
      introduced.  These are simple replacement of the codec verb write with
      AC_VERB_SET_PIN_WIDGET but do more sanity checks and filter out
      superfluous pin-control bits if they don't fit with the corresponding
      pin capabilities.
      
      Some codecs are screwed up or ignore the command when such a wrong bit
      is set.  These helpers will avoid such secret errors.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      cdd03ced
  2. 19 4月, 2012 5 次提交
  3. 18 4月, 2012 1 次提交
  4. 13 4月, 2012 3 次提交
  5. 12 4月, 2012 1 次提交
  6. 11 4月, 2012 1 次提交
  7. 10 4月, 2012 4 次提交
  8. 07 4月, 2012 6 次提交
  9. 06 4月, 2012 2 次提交
    • S
      ASoC: tegra: fix i2s compilation when !CONFIG_DEBUG_FS · 8abe05c6
      Stephen Warren 提交于
      Commit d4a2eca7 "ASoC: Tegra I2S: Remove dependency on pdev->id" changed
      the prototype of tegra_i2s_debug_add, but didn't update the dummy inline
      used when !CONFIG_DEBUG_FS. Fix that.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: <stable@vger.kernel.org> # 3.3
      8abe05c6
    • S
      ASoC: set idle_bias_off=1 for all platform DAPM contexts · 3fec6b6d
      Stephen Warren 提交于
      The ASoC core currently defaults to using STANDBY rather than OFF for
      idle ASoC platform devices, which causes a permanent pm_runtime_get() on
      them. This keeps the device active unnecessarily. This can be especially
      problematic when the ASoC platform device and DAI device are the same
      device.
      
      The distinction between OFF and STANDBY is likely not relevant for ASoC
      platform drivers, since they aren't analog devices. So, solve this issue
      by hard-coding idle_bias_off = 1 for all ASoC platform devices. If this
      turns out to be a problem, this value could be sourced from the
      snd_soc_platform_driver, similarly to soc_probe_codec().
      
      Note: Prior to this change, this caused a large (10) runtime_active count
      for the Tegra I2S controller even when not in use, and a leak in that
      value as streams were started and stopped. This change probably hides a
      bug.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      3fec6b6d
  10. 05 4月, 2012 4 次提交
  11. 03 4月, 2012 3 次提交
  12. 31 3月, 2012 1 次提交
  13. 30 3月, 2012 1 次提交
  14. 29 3月, 2012 4 次提交
  15. 27 3月, 2012 2 次提交